mirror of git://sourceware.org/git/glibc.git
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>
|
#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__
|
#ifdef __STDC__
|
||||||
#define PSEUDO(name, syscall_name) \
|
#define PSEUDO(name, syscall_name) \
|
||||||
.even; \
|
.even; \
|
||||||
.globl syscall_error \
|
.globl syscall_error \
|
||||||
error: jmp syscall_error; \
|
error: jmp syscall_error; \
|
||||||
.globl _##name; \
|
ENTRY (name) \
|
||||||
.even; \
|
|
||||||
_##name##:; \
|
|
||||||
chmk $SYS_##syscall_name \
|
chmk $SYS_##syscall_name \
|
||||||
bcs error
|
bcs error
|
||||||
#else
|
#else
|
||||||
|
@ -33,9 +43,7 @@ Cambridge, MA 02139, USA. */
|
||||||
.even; \
|
.even; \
|
||||||
.globl syscall_error \
|
.globl syscall_error \
|
||||||
error: jmp syscall_error; \
|
error: jmp syscall_error; \
|
||||||
.globl _/**/name; \
|
ENTRY (name) \
|
||||||
.even; \
|
|
||||||
_/**/name/**/:; \
|
|
||||||
chmk $SYS_/**/syscall_name \
|
chmk $SYS_/**/syscall_name \
|
||||||
bcs error
|
bcs error
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue