diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-19 20:56:48 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-19 20:56:48 +0000 |
commit | 770304b5396c370623ba149135a86ee62fefdc3d (patch) | |
tree | 73992938b87e8f7e6df2f4b6f5c37d8af3103952 /libexec/ld.so/sparc | |
parent | 579353319059792ab9013a12c79e222bfd25e159 (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/sparc')
-rw-r--r-- | libexec/ld.so/sparc/ldasm.S | 20 | ||||
-rw-r--r-- | libexec/ld.so/sparc/syscall.h | 4 |
2 files changed, 2 insertions, 22 deletions
diff --git a/libexec/ld.so/sparc/ldasm.S b/libexec/ld.so/sparc/ldasm.S index 808930b8c74..e2e6a1d65fe 100644 --- a/libexec/ld.so/sparc/ldasm.S +++ b/libexec/ld.so/sparc/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.26 2015/09/13 17:08:04 guenther Exp $ */ +/* $OpenBSD: ldasm.S,v 1.27 2015/09/19 20:56:47 guenther Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -282,24 +282,6 @@ _dl_sysctl: sub %g0, %o0, %o0 ! error: result = -errno - /* _dl_sigprocmask does not support NULL new mask */ - .section ".text" - .align 4 - .globl _dl_sigprocmask - .type _dl_sigprocmask,@function -_dl_sigprocmask: - ld [%o1], %o1 - mov SYS_sigprocmask, %g1 ! call sys___sigprocmask - t ST_SYSCALL ! off to wonderland - - cmp %o2, 0 - bne,a 1f - st %o0, [%o2] -1: - retl - clr %o0 - - .section ".text" .align 4 .global _dl_gettimeofday diff --git a/libexec/ld.so/sparc/syscall.h b/libexec/ld.so/sparc/syscall.h index 6b59b396c4c..8bfff483670 100644 --- a/libexec/ld.so/sparc/syscall.h +++ b/libexec/ld.so/sparc/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.21 2014/09/01 05:09:53 doug Exp $ */ +/* $OpenBSD: syscall.h,v 1.22 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); |