summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 07:36:59 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 07:36:59 +0000
commitacd27e3126009714e62b716d2352d7c439d37219 (patch)
treecdf95a2d876a298bfde0fbab66c532b1fd99d945 /lib/libc/compat-43
parent935fadcb6d65619c7e89e38170798865f6d7f187 (diff)
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')
-rw-r--r--lib/libc/compat-43/sigcompat.c2
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)