mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Formerly unix/bsd/vax/sysdep.h.~9~
This commit is contained in:
parent
6b4aa5182e
commit
121e346fd8
@ -18,14 +18,24 @@ Cambridge, MA 02139, USA. */
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef __STDC__
|
||||
#define ENTRY(name) \
|
||||
.globl _##name; \
|
||||
.even; \
|
||||
_##name##:
|
||||
#else
|
||||
#define ENTRY(name) \
|
||||
.globl _/**/name; \
|
||||
.even; \
|
||||
_/**/name/**/:
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
#define PSEUDO(name, syscall_name) \
|
||||
.even; \
|
||||
.globl syscall_error \
|
||||
error: jmp syscall_error; \
|
||||
.globl _##name; \
|
||||
.even; \
|
||||
_##name##:; \
|
||||
ENTRY (name) \
|
||||
chmk $SYS_##syscall_name \
|
||||
bcs error
|
||||
#else
|
||||
@ -33,9 +43,7 @@ Cambridge, MA 02139, USA. */
|
||||
.even; \
|
||||
.globl syscall_error \
|
||||
error: jmp syscall_error; \
|
||||
.globl _/**/name; \
|
||||
.even; \
|
||||
_/**/name/**/:; \
|
||||
ENTRY (name) \
|
||||
chmk $SYS_/**/syscall_name \
|
||||
bcs error
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user