diff --git a/lib/libc/i386/gen/setjmp.S b/lib/libc/i386/gen/setjmp.S --- a/lib/libc/i386/gen/setjmp.S +++ b/lib/libc/i386/gen/setjmp.S @@ -49,7 +49,7 @@ pushl %eax /* (sigset_t*)oset */ pushl $0 /* (sigset_t*)set */ pushl $1 /* SIG_BLOCK */ - call __libc_sigprocmask + call PIC_PLT(__libc_sigprocmask) addl $12,%esp movl 4(%esp),%ecx movl 0(%esp),%edx @@ -71,7 +71,7 @@ leal 28(%edx), %eax pushl %eax /* (sigset_t*)set */ pushl $3 /* SIG_SETMASK */ - call __libc_sigprocmask + call PIC_PLT(__libc_sigprocmask) addl $12,%esp movl 4(%esp),%edx movl 8(%esp),%eax diff --git a/lib/libc/i386/gen/sigsetjmp.S b/lib/libc/i386/gen/sigsetjmp.S --- a/lib/libc/i386/gen/sigsetjmp.S +++ b/lib/libc/i386/gen/sigsetjmp.S @@ -59,7 +59,7 @@ pushl %eax /* (sigset_t*)oset */ pushl $0 /* (sigset_t*)set */ pushl $1 /* SIG_BLOCK */ - call __libc_sigprocmask + call PIC_PLT(__libc_sigprocmask) addl $12,%esp movl 4(%esp),%ecx 2: movl 0(%esp),%edx @@ -83,7 +83,7 @@ leal 28(%edx), %eax pushl %eax /* (sigset_t*)set */ pushl $3 /* SIG_SETMASK */ - call __libc_sigprocmask + call PIC_PLT(__libc_sigprocmask) addl $12,%esp movl 4(%esp),%edx 2: movl 8(%esp),%eax diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -410,10 +410,9 @@ int __sys_shm_open2(const char *, int, __mode_t, int, const char *); int __libc_sigaction(int, const struct sigaction *, - struct sigaction *) __hidden; -int __libc_sigprocmask(int, const __sigset_t *, __sigset_t *) - __hidden; -int __libc_sigsuspend(const __sigset_t *) __hidden; + struct sigaction *); +int __libc_sigprocmask(int, const __sigset_t *, __sigset_t *); +int __libc_sigsuspend(const __sigset_t *); int __libc_sigwait(const __sigset_t * __restrict, int * restrict sig); int __libc_system(const char *); diff --git a/lib/libsys/Symbol.map b/lib/libsys/Symbol.map --- a/lib/libsys/Symbol.map +++ b/lib/libsys/Symbol.map @@ -2,6 +2,9 @@ __elf_aux_vector; __getosreldate; __init_elf_aux_vector; + __libc_sigaction; + __libc_sigprocmask; + __libc_sigsuspend; __realpathat; _elf_aux_info; freebsd11_fstat;