diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-05-17 10:06:43 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-05-17 10:06:43 +0000 |
commit | 0af9377b7c6f00b1cd78f9790ff53cd26a941f2b (patch) | |
tree | d0b6a8a2cc9cbfa2d810a1362e26910da2c0443f | |
parent | 63fcf1e49ccebf5f968c22dca016f31b7fd96369 (diff) |
ENTRY takes 2 args nowadays
-rw-r--r-- | lib/libc/arch/vax/sys/Ovfork.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/brk.S | 6 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/exect.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/ptrace.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sbrk.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigprocmask.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigreturn.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigsuspend.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/syscall.S | 4 |
9 files changed, 19 insertions, 19 deletions
diff --git a/lib/libc/arch/vax/sys/Ovfork.S b/lib/libc/arch/vax/sys/Ovfork.S index c612dd07e8e..05ba63c06f1 100644 --- a/lib/libc/arch/vax/sys/Ovfork.S +++ b/lib/libc/arch/vax/sys/Ovfork.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: Ovfork.S,v 1.2 1996/08/19 08:18:55 tholo Exp $" + .asciz "$OpenBSD: Ovfork.S,v 1.3 1998/05/17 10:06:28 niklas Exp $" #endif /* SYSLIBC_SCCS */ /* @@ -54,7 +54,7 @@ * with a ret off this stack... we do the ret before we vfork! */ -ENTRY(vfork) +ENTRY(vfork, 0) movl 16(fp),r2 # save return address before we smash it movab here,16(fp) ret diff --git a/lib/libc/arch/vax/sys/brk.S b/lib/libc/arch/vax/sys/brk.S index a97ff40dc8d..b0122dddd91 100644 --- a/lib/libc/arch/vax/sys/brk.S +++ b/lib/libc/arch/vax/sys/brk.S @@ -33,17 +33,17 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: brk.S,v 1.2 1996/08/19 08:18:57 tholo Exp $" + .asciz "$OpenBSD: brk.S,v 1.3 1998/05/17 10:06:30 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" .globl curbrk .globl minbrk -ENTRY(_brk) +ENTRY(_brk, 0) jbr ok -ENTRY(brk) +ENTRY(brk, 0) cmpl 4(ap),minbrk bgeq ok movl minbrk,4(ap) diff --git a/lib/libc/arch/vax/sys/exect.S b/lib/libc/arch/vax/sys/exect.S index 3e422ca9f47..432df7adbf0 100644 --- a/lib/libc/arch/vax/sys/exect.S +++ b/lib/libc/arch/vax/sys/exect.S @@ -33,13 +33,13 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: exect.S,v 1.2 1996/08/19 08:18:59 tholo Exp $" + .asciz "$OpenBSD: exect.S,v 1.3 1998/05/17 10:06:31 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" #include <machine/psl.h> -ENTRY(exect) +ENTRY(exect, 0) bispsw $PSL_T chmk $ SYS_execve jmp cerror # exect(file, argv, env) diff --git a/lib/libc/arch/vax/sys/ptrace.S b/lib/libc/arch/vax/sys/ptrace.S index 8dd2e22822e..448ddf71a4e 100644 --- a/lib/libc/arch/vax/sys/ptrace.S +++ b/lib/libc/arch/vax/sys/ptrace.S @@ -33,12 +33,12 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: ptrace.S,v 1.2 1996/08/19 08:19:02 tholo Exp $" + .asciz "$OpenBSD: ptrace.S,v 1.3 1998/05/17 10:06:33 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" -ENTRY(ptrace) +ENTRY(ptrace, 0) clrl _errno chmk $ SYS_ptrace jcs err diff --git a/lib/libc/arch/vax/sys/sbrk.S b/lib/libc/arch/vax/sys/sbrk.S index 0ca9ed6f8f0..15185adbb1e 100644 --- a/lib/libc/arch/vax/sys/sbrk.S +++ b/lib/libc/arch/vax/sys/sbrk.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sbrk.S,v 1.2 1996/08/19 08:19:04 tholo Exp $" + .asciz "$OpenBSD: sbrk.S,v 1.3 1998/05/17 10:06:34 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -48,7 +48,7 @@ minbrk: .long _end curbrk: .long _end .text -ENTRY(sbrk) +ENTRY(sbrk, 0) addl3 curbrk,4(ap),-(sp) pushl $1 movl ap,r3 diff --git a/lib/libc/arch/vax/sys/sigprocmask.S b/lib/libc/arch/vax/sys/sigprocmask.S index f3aba13e015..3a473eedfde 100644 --- a/lib/libc/arch/vax/sys/sigprocmask.S +++ b/lib/libc/arch/vax/sys/sigprocmask.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sigprocmask.S,v 1.2 1996/08/19 08:19:07 tholo Exp $" + .asciz "$OpenBSD: sigprocmask.S,v 1.3 1998/05/17 10:06:36 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -41,7 +41,7 @@ err: jmp cerror -ENTRY(sigprocmask) +ENTRY(sigprocmask, 0) tstl 8(ap) # check new sigset pointer bneq 1f # if not null, indirect /* movl $0,8(ap) # null mask pointer: block empty set */ diff --git a/lib/libc/arch/vax/sys/sigreturn.S b/lib/libc/arch/vax/sys/sigreturn.S index 6f03da4d99f..b5f6b68441c 100644 --- a/lib/libc/arch/vax/sys/sigreturn.S +++ b/lib/libc/arch/vax/sys/sigreturn.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sigreturn.S,v 1.2 1996/08/19 08:19:09 tholo Exp $" + .asciz "$OpenBSD: sigreturn.S,v 1.3 1998/05/17 10:06:37 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -43,7 +43,7 @@ */ #ifdef PROF #undef ENTRY -#define ENTRY(x) \ +#define ENTRY(x, y) \ .globl _ ## x; .align 2; _ ## x ## : .word 0; pushr $0x3f; \ .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f; #endif PROF diff --git a/lib/libc/arch/vax/sys/sigsuspend.S b/lib/libc/arch/vax/sys/sigsuspend.S index 2aad6c725fd..253d4f94d02 100644 --- a/lib/libc/arch/vax/sys/sigsuspend.S +++ b/lib/libc/arch/vax/sys/sigsuspend.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: sigsuspend.S,v 1.2 1996/08/19 08:19:10 tholo Exp $" + .asciz "$OpenBSD: sigsuspend.S,v 1.3 1998/05/17 10:06:39 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" @@ -41,7 +41,7 @@ err: jmp cerror -ENTRY(sigsuspend) +ENTRY(sigsuspend, 0) movl *4(ap),4(ap) # indirect to mask arg chmk $ SYS_sigsuspend jcs err diff --git a/lib/libc/arch/vax/sys/syscall.S b/lib/libc/arch/vax/sys/syscall.S index 7c44e23659b..4760ba8f3e4 100644 --- a/lib/libc/arch/vax/sys/syscall.S +++ b/lib/libc/arch/vax/sys/syscall.S @@ -38,12 +38,12 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: syscall.S,v 1.2 1996/08/19 08:19:11 tholo Exp $" + .asciz "$OpenBSD: syscall.S,v 1.3 1998/05/17 10:06:42 niklas Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" -ENTRY(syscall) +ENTRY(syscall, 0) movl 4(ap),r0 # syscall number subl3 $1,(ap)+,(ap) # one fewer arguments chmk r0 |