summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-15 13:40:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-15 13:40:23 +0000
commit09d5fbfc6f24fd2f95eb7cf67f75c6a61c9246e0 (patch)
treec2ea7a9f71b4ff4d81126b52b1e3e3889028fde1 /lib/libc/arch/sparc64
parent1eab234346d0a48e8df1dc8ce7bbdc4f8a3bdf78 (diff)
ABI breakage happened with the sigaltstack replacement. It is too late,
now we just have to cope. Since setjmp uses it, the alpha and sparc64 are unhappy with the structure change. In a few days, we will make the second hop here, for now, use the old system call until all binaries have the new struct in them.
Diffstat (limited to 'lib/libc/arch/sparc64')
-rw-r--r--lib/libc/arch/sparc64/gen/setjmp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/sparc64/gen/setjmp.S b/lib/libc/arch/sparc64/gen/setjmp.S
index 60c61058c13..4d156c8b3dd 100644
--- a/lib/libc/arch/sparc64/gen/setjmp.S
+++ b/lib/libc/arch/sparc64/gen/setjmp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: setjmp.S,v 1.3 2003/06/02 20:18:32 millert Exp $ */
+/* $OpenBSD: setjmp.S,v 1.4 2004/01/15 13:40:22 deraadt Exp $ */
/* $NetBSD: setjmp.S,v 1.4 2000/08/28 00:45:59 eeh Exp $ */
/*
@@ -55,7 +55,7 @@
ENTRY(setjmp)
/*
* We use the part of the sigcontext structure, the sp, pc, and npc
- * fields, for the sigstack call so we don't need to get our own
+ * fields, for the osigaltstack call so we don't need to get our own
* stackframe. It won't be filled out till later anyway.
*/
mov %o0, %o3 /* Save our jmp_buf in %o3 */
@@ -76,8 +76,8 @@ ENTRY(setjmp)
st %o0, [%o3 + 0x38] /* sc.sc_mask = current mask; */
- mov SYS_sigaltstack, %g1
- clr %o0 /* sigaltstack(NULL, &foo) */
+ mov SYS_osigaltstack, %g1
+ clr %o0 /* osigaltstack(NULL, &foo) */
add %o3, 0x40, %o1 /* (foo being the sigcontext sc_mask) */
t ST_SYSCALL