summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-06-04 14:26:27 +0000
committerpatrick <patrick@openbsd.org>2017-06-04 14:26:27 +0000
commitb5e1ee78b7d0aeff52f2c6b3db62a0533bc77a3a (patch)
tree9e35de6bdfb1be90fc60b6efc71935c92759485b
parentRemove comment that no longer is true. esym is not written by our (diff)
downloadwireguard-openbsd-b5e1ee78b7d0aeff52f2c6b3db62a0533bc77a3a.tar.xz
wireguard-openbsd-b5e1ee78b7d0aeff52f2c6b3db62a0533bc77a3a.zip
Remove the sigprocmask stub that has long been made unused since
the use of kbind. The code was #if 0'd anyway. Reminded by miod@
-rw-r--r--libexec/ld.so/aarch64/ldasm.S18
1 files changed, 1 insertions, 17 deletions
diff --git a/libexec/ld.so/aarch64/ldasm.S b/libexec/ld.so/aarch64/ldasm.S
index 785f5dec102..80e1193adcd 100644
--- a/libexec/ld.so/aarch64/ldasm.S
+++ b/libexec/ld.so/aarch64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.2 2017/01/24 07:48:37 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.3 2017/06/04 14:26:27 patrick Exp $ */
/*
* Copyright (c) 2016 Dale Rahn
@@ -158,22 +158,6 @@ DL_SYSCALL(thrkill)
DL_SYSCALL(getdents)
- .global _dl_sigprocmask
- .type _dl_sigprocmask%function
-_dl_sigprocmask:
-#if 0
- teq r1, #0
- moveq r0, #1
- moveq r1, #0
- ldrne r1, [r1]
- SYSTRAP(sigprocmask)
- bcs .L_cerr
- teq r2, #0
- strne r0, [r2]
- mov r0, #0
- mov pc, lr
-#endif
-
.L_cerr:
neg w0, w0 /* r0 = -errno */
ret