From 121e346fd8cca2874d40b534648f913787457dcb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 24 Jun 1991 23:16:27 +0000 Subject: [PATCH] Formerly unix/bsd/vax/sysdep.h.~9~ --- sysdeps/unix/bsd/vax/sysdep.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/sysdeps/unix/bsd/vax/sysdep.h b/sysdeps/unix/bsd/vax/sysdep.h index de1c4f3..85ac226 100644 --- a/sysdeps/unix/bsd/vax/sysdep.h +++ b/sysdeps/unix/bsd/vax/sysdep.h @@ -19,13 +19,23 @@ Cambridge, MA 02139, USA. */ #include #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 -- 2.7.4