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/powerpc | |
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/powerpc')
-rw-r--r-- | libexec/ld.so/powerpc/ldasm.S | 24 | ||||
-rw-r--r-- | libexec/ld.so/powerpc/syscall.h | 6 |
2 files changed, 2 insertions, 28 deletions
diff --git a/libexec/ld.so/powerpc/ldasm.S b/libexec/ld.so/powerpc/ldasm.S index 2c33103062a..ee9ff234946 100644 --- a/libexec/ld.so/powerpc/ldasm.S +++ b/libexec/ld.so/powerpc/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.24 2015/09/19 20:09:08 kettenis Exp $ */ +/* $OpenBSD: ldasm.S,v 1.25 2015/09/19 20:56:47 guenther Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -141,28 +141,6 @@ _dl_cerror: neg 3, 3 blr -ENTRY(_dl_sigprocmask) - /* _dl_sigprocmask does not support NULL as the new mask */ -#if 0 - cmpwi 4, 0 - bne+ 1f - li 3, 1 /* SIG_BLOCK */ - b 2f -1: -#endif - lwz 4, 0(4) -2: - li 0, SYS_sigprocmask - sc - cmpwi 0, 0 - bne- _dl_cerror - cmpwi 5, 0 - beq- 1f - stw 3, 0(5) -1: - li 3, 0 - blr - DL_SYSCALL(close) DL_SYSCALL_NOERR(exit) DL_SYSCALL(fstat) diff --git a/libexec/ld.so/powerpc/syscall.h b/libexec/ld.so/powerpc/syscall.h index 17e9054a907..6c7f5adce6f 100644 --- a/libexec/ld.so/powerpc/syscall.h +++ b/libexec/ld.so/powerpc/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.36 2014/09/01 05:09:53 doug Exp $ */ +/* $OpenBSD: syscall.h,v 1.37 2015/09/19 20:56:47 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -29,10 +29,7 @@ #define __DL_SYSCALL_H__ #include <sys/stat.h> - #include <sys/syscall.h> -#include <sys/signal.h> -#include <sys/time.h> #ifndef _dl_MAX_ERRNO #define _dl_MAX_ERRNO 512L @@ -55,7 +52,6 @@ int _dl_munmap(const void *, size_t); int _dl_open(const char *, int); ssize_t _dl_read(int, const char *, size_t); ssize_t _dl_readlink(const char *, char *, size_t); -int _dl_sigprocmask(int, const sigset_t *, sigset_t *); long _dl__syscall(quad_t, ...); int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t); int _dl_utrace(const char *, const void *, size_t); |