Use asm.h defines for labels

This commit is contained in:
ws 1998-05-25 15:37:20 +00:00
parent b1009f3dc5
commit a6bbe90471

View File

@ -1,4 +1,4 @@
/* $NetBSD: SYS.h,v 1.5 1998/05/25 15:19:10 ws Exp $ */
/* $NetBSD: SYS.h,v 1.6 1998/05/25 15:37:20 ws Exp $ */
#include <machine/asm.h>
#include <sys/syscall.h>
@ -18,7 +18,7 @@
#define _SYSCALL(x,y) .text ;\
.align 2 ;\
2: b PIC_PLT(cerror) ;\
2: b PIC_PLT(_ASM_LABEL(cerror));\
_SYSCALL_NOERROR(x,y) ;\
bso 2b
@ -31,7 +31,7 @@
#define PSEUDO(x,y) _SYSCALL_NOERROR(x,y) ;\
bnslr ;\
b PIC_PLT(cerror)
b PIC_PLT(_ASM_LABEL(cerror))
#define RSYSCALL_NOERROR(x) PSEUDO_NOERROR(x,x)