diff options
author | 2015-09-13 07:36:58 +0000 | |
---|---|---|
committer | 2015-09-13 07:36:58 +0000 | |
commit | a1e2d30c3c01d61e72b66db291f56fb74d337f83 (patch) | |
tree | bf13327bb8aefbc3af3620a623e63c9b37b4c6ce /lib/libc/compat-43/sigcompat.c | |
parent | back out mpsafe vlans while i chase down a panic when operations (diff) | |
download | wireguard-openbsd-a1e2d30c3c01d61e72b66db291f56fb74d337f83.tar.xz wireguard-openbsd-a1e2d30c3c01d61e72b66db291f56fb74d337f83.zip |
Do provide hidden _libc_* aliases for sig{block,setmask} and use them in
the ASM *setjmp implementations.
Skip the PLT when calling them on amd64 (other archs to do this after testing)
ok miod@
Diffstat (limited to 'lib/libc/compat-43/sigcompat.c')
-rw-r--r-- | lib/libc/compat-43/sigcompat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/compat-43/sigcompat.c b/lib/libc/compat-43/sigcompat.c index 2698dcadd87..4e82ef5bd35 100644 --- a/lib/libc/compat-43/sigcompat.c +++ b/lib/libc/compat-43/sigcompat.c @@ -56,6 +56,7 @@ sigsetmask(int mask) return (n); return (omask); } +DEF_WEAK(sigsetmask); int sigblock(int mask) @@ -67,6 +68,7 @@ sigblock(int mask) return (n); return (omask); } +DEF_WEAK(sigblock); int sigpause(int mask) |