Commit 9c4fce55a (nptl: remove sigaction, sigprocmask, and sigfillset from
libpthread) removed pt-sigaction.c from the build to fix static build.
However, since the libc sigaction is weak when HAS_THREADS is enabled, static
build is not be affected. Tested for xtensa target.

Fixes nptl/tst-signal7.

Cc: Austin Foxley <[email protected]>
Signed-off-by: Baruch Siach <[email protected]>
---
 libpthread/nptl/sysdeps/pthread/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in 
b/libpthread/nptl/sysdeps/pthread/Makefile.in
index add3a8e..5713068 100644
--- a/libpthread/nptl/sysdeps/pthread/Makefile.in
+++ b/libpthread/nptl/sysdeps/pthread/Makefile.in
@@ -33,6 +33,7 @@ libpthread_pthread_CSRC = \
        pthread_spin_init.c \
        pthread_spin_unlock.c \
        pt-longjmp.c \
+       pt-sigaction.c \
        tpp.c
 CFLAGS-pthread = $(SSP_ALL_CFLAGS) -DNOT_IN_libc -DIS_IN_libpthread
 CFLAGS-pthread_barrier_wait.c = -D_GNU_SOURCE
-- 
1.8.4.rc3

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to