summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/vax/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2001-08-23 21:58:37 +0000
committermiod <miod@openbsd.org>2001-08-23 21:58:37 +0000
commit2e8a4b777178aada1cebece4872d5e2d2401b9fb (patch)
tree89d8813709deafb621e6ab2f26e1d80cff173857 /lib/libc/arch/vax/sys
parentIf we fail to lookup a login class, apply the default one. (diff)
downloadwireguard-openbsd-2e8a4b777178aada1cebece4872d5e2d2401b9fb.tar.xz
wireguard-openbsd-2e8a4b777178aada1cebece4872d5e2d2401b9fb.zip
Fix the syscall wrappers name generation in, so that libc_r gets the
correct entry points and programs can link to it. I would have commited this later, but fgs@ insisted.
Diffstat (limited to 'lib/libc/arch/vax/sys')
-rw-r--r--lib/libc/arch/vax/sys/Ovfork.S4
-rw-r--r--lib/libc/arch/vax/sys/exect.S4
-rw-r--r--lib/libc/arch/vax/sys/sigprocmask.S4
-rw-r--r--lib/libc/arch/vax/sys/sigsuspend.S4
-rw-r--r--lib/libc/arch/vax/sys/syscall.S4
5 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/arch/vax/sys/Ovfork.S b/lib/libc/arch/vax/sys/Ovfork.S
index 05ba63c06f1..958ab8e3f94 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.3 1998/05/17 10:06:28 niklas Exp $"
+ .asciz "$OpenBSD: Ovfork.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* SYSLIBC_SCCS */
/*
@@ -54,7 +54,7 @@
* with a ret off this stack... we do the ret before we vfork!
*/
-ENTRY(vfork, 0)
+SYSENTRY(vfork)
movl 16(fp),r2 # save return address before we smash it
movab here,16(fp)
ret
diff --git a/lib/libc/arch/vax/sys/exect.S b/lib/libc/arch/vax/sys/exect.S
index 432df7adbf0..8c04233d1fa 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.3 1998/05/17 10:06:31 niklas Exp $"
+ .asciz "$OpenBSD: exect.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
#include <machine/psl.h>
-ENTRY(exect, 0)
+SYSENTRY(exect)
bispsw $PSL_T
chmk $ SYS_execve
jmp cerror # exect(file, argv, env)
diff --git a/lib/libc/arch/vax/sys/sigprocmask.S b/lib/libc/arch/vax/sys/sigprocmask.S
index 3a473eedfde..f830bc1c08d 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.3 1998/05/17 10:06:36 niklas Exp $"
+ .asciz "$OpenBSD: sigprocmask.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
@@ -41,7 +41,7 @@
err:
jmp cerror
-ENTRY(sigprocmask, 0)
+SYSENTRY(sigprocmask)
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/sigsuspend.S b/lib/libc/arch/vax/sys/sigsuspend.S
index 253d4f94d02..445f6e5db4a 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.3 1998/05/17 10:06:39 niklas Exp $"
+ .asciz "$OpenBSD: sigsuspend.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
@@ -41,7 +41,7 @@
err:
jmp cerror
-ENTRY(sigsuspend, 0)
+SYSENTRY(sigsuspend)
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 4760ba8f3e4..c8ad8befdcc 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.3 1998/05/17 10:06:42 niklas Exp $"
+ .asciz "$OpenBSD: syscall.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
-ENTRY(syscall, 0)
+SYSENTRY(syscall)
movl 4(ap),r0 # syscall number
subl3 $1,(ap)+,(ap) # one fewer arguments
chmk r0