summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc/gen
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-22 21:13:31 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-22 21:13:31 +0000
commite4ec26f0e2b58c6d24ed72b18ed6ad64ad7fbf22 (patch)
tree840338b7df523d0d4888563e5c568c42009293f9 /lib/libc/arch/sparc/gen
parent22b74528e2a12e785f4b8987aea532f5584265ec (diff)
sigstack() is long dead, and the compat sigaltstack syscall is gone too.
Correct the namespace protections for sigreturn(), sigwait(), and psignal() ok millert@
Diffstat (limited to 'lib/libc/arch/sparc/gen')
-rw-r--r--lib/libc/arch/sparc/gen/setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc/gen/setjmp.S b/lib/libc/arch/sparc/gen/setjmp.S
index 10cc2932ac7..c16d8d70028 100644
--- a/lib/libc/arch/sparc/gen/setjmp.S
+++ b/lib/libc/arch/sparc/gen/setjmp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: setjmp.S,v 1.5 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: setjmp.S,v 1.6 2011/11/22 21:13:30 guenther Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -58,7 +58,7 @@ ENTRY(setjmp)
t ST_SYSCALL
st %o0, [%o2 + 4] /* sc.sc_mask = current mask; */
mov SYS_sigaltstack, %g1
- clr %o0 /* sigstack(NULL, &foo) */
+ clr %o0 /* sigaltstack(NULL, &foo) */
add %sp, 0x48, %o1 /* (foo being in arg dump area) */
t ST_SYSCALL
ld [%sp + 0x50], %o0 /* foo.ss_flags */