summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-10-24 02:26:53 +0000
committerdrahn <drahn@openbsd.org>2002-10-24 02:26:53 +0000
commit97b89144348dc36722b715eaa4ef66115040746a (patch)
tree94fc056d07d161be3c76e7b7fa4438dfac95fa9b
parentremove 0x in front of %p -- not needed (diff)
downloadwireguard-openbsd-97b89144348dc36722b715eaa4ef66115040746a.tar.xz
wireguard-openbsd-97b89144348dc36722b715eaa4ef66115040746a.zip
Remove some old if 0/if 1 code, it is pointless to keep this in.
-rw-r--r--lib/libc/arch/powerpc/gen/sigsetjmp.S17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/libc/arch/powerpc/gen/sigsetjmp.S b/lib/libc/arch/powerpc/gen/sigsetjmp.S
index e775351894e..5a26562e054 100644
--- a/lib/libc/arch/powerpc/gen/sigsetjmp.S
+++ b/lib/libc/arch/powerpc/gen/sigsetjmp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigsetjmp.S,v 1.2 2002/05/08 20:34:47 drahn Exp $ */
+/* $OpenBSD: sigsetjmp.S,v 1.3 2002/10/24 02:26:53 drahn Exp $ */
/* $NetBSD$ */
/*-
@@ -38,11 +38,6 @@
*
* from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90"
*/
-#if 0
-#include <sys/syscall.h>
-
-#include <machine/asm.h>
-#endif
#include "SYS.h"
#include <machine/asm.h>
@@ -52,12 +47,7 @@
.asciz "$NetBSD$"
#endif
-#if 1
ENTRY(sigsetjmp)
-#else
- .globl sigsetjmp
-sigsetjmp:
-#endif
mr 6,3
or. 7,4,4
beq 1f
@@ -75,12 +65,7 @@ sigsetjmp:
li 3,0
blr
-#if 1
ENTRY(siglongjmp)
-#else
- .globl siglongjmp
-siglongjmp:
-#endif
lmw 7,0(3)
mr 6,4
mtlr 11