summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/vax/gen
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/gen
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/gen')
-rw-r--r--lib/libc/arch/vax/gen/setjmp.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/arch/vax/gen/setjmp.S b/lib/libc/arch/vax/gen/setjmp.S
index 74744135fb3..40f342b5bdd 100644
--- a/lib/libc/arch/vax/gen/setjmp.S
+++ b/lib/libc/arch/vax/gen/setjmp.S
@@ -33,7 +33,7 @@
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: setjmp.S,v 1.3 2001/03/18 07:29:04 bjc Exp $"
+ .asciz "$OpenBSD: setjmp.S,v 1.4 2001/08/23 21:58:41 miod Exp $"
#endif /* LIBC_SCCS */
/*
@@ -47,17 +47,17 @@
* and a struct sigcontext, see <signal.h>
*/
-#include "DEFS.h"
+#include "SYS.h"
ENTRY(setjmp, R6)
movl 4(ap),r6 # construct sigcontext
subl2 $12,sp # space for current struct sigstack
pushl sp # get current values
pushl $0 # no new values
- calls $4,_sigaltstack # pop args plus signal stack value
+ calls $4,SYSNAME(sigaltstack)# pop args plus signal stack value
movl (sp)+,(r6)+ # save onsigstack status of caller
pushl $0
- calls $1,_sigblock # get signal mask
+ calls $1,SYSNAME(sigblock) # get signal mask
movl r0,(r6)+ # save signal mask of caller
movl (ap),r0
moval 4(ap)[r0],(r6)+ # save sp of caller
@@ -90,7 +90,7 @@ loop:
done:
pushl r1 # pointer to sigcontext
- calls $1,_sigreturn # restore previous context
+ calls $1,SYSNAME(sigreturn) # restore previous context
# we should never return
botch:
calls $0,_longjmperror