summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-19 20:56:48 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-19 20:56:48 +0000
commit770304b5396c370623ba149135a86ee62fefdc3d (patch)
tree73992938b87e8f7e6df2f4b6f5c37d8af3103952 /libexec/ld.so/amd64
parent579353319059792ab9013a12c79e222bfd25e159 (diff)
kbind has eliminated the need for and use of the bind lock. Delete it, the
the callback, and the sigprocmask stub. Keep around the DL_SETBINDLCK case until libpthread stops using it. discussed with miod@ at l2k15 ok kettenis@
Diffstat (limited to 'libexec/ld.so/amd64')
-rw-r--r--libexec/ld.so/amd64/ldasm.S19
-rw-r--r--libexec/ld.so/amd64/syscall.h4
2 files changed, 2 insertions, 21 deletions
diff --git a/libexec/ld.so/amd64/ldasm.S b/libexec/ld.so/amd64/ldasm.S
index 11dc75af512..f67988c4cb0 100644
--- a/libexec/ld.so/amd64/ldasm.S
+++ b/libexec/ld.so/amd64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.19 2015/09/13 17:08:03 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.20 2015/09/19 20:56:47 guenther Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -108,23 +108,6 @@ DL_SYSCALL(sysctl)
ret
- /* _dl_sigprocmask: does not handle NULL new set */
-
- .align 4
- .global _dl_sigprocmask
- .type _dl_sigprocmask,@function
-_dl_sigprocmask:
- movl (%rsi),%esi # fetch indirect...
- movl $SYS_sigprocmask, %eax
- movq %rcx, %r10
- syscall
- jc 1b /* error: result = -errno */
- testq %rdx,%rdx # test if old mask requested
- jz 2f
- movl %eax,(%rdx) # store old mask
- xorq %rax,%rax
-2: ret
-
.align 4
.global _dl_bind_start
.type _dl_bind_start,@function
diff --git a/libexec/ld.so/amd64/syscall.h b/libexec/ld.so/amd64/syscall.h
index 153013c6631..cb3a657d4ff 100644
--- a/libexec/ld.so/amd64/syscall.h
+++ b/libexec/ld.so/amd64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.16 2014/09/01 05:09:52 doug Exp $ */
+/* $OpenBSD: syscall.h,v 1.17 2015/09/19 20:56:47 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -31,7 +31,6 @@
#include <sys/syscall.h>
#include <sys/stat.h>
-#include <sys/signal.h>
#ifndef _dl_MAX_ERRNO
#define _dl_MAX_ERRNO 512L
@@ -50,7 +49,6 @@ int _dl_open(const char *, int);
ssize_t _dl_read(int, const char *, size_t);
int _dl_fstat(int, struct stat *);
ssize_t _dl_getdents(int, char *, size_t);
-int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
ssize_t _dl_readlink(const char *, char *, size_t);