[PATCH] sigaction: fix for THREADS_NATIVE
Baruch Siach
baruch at tkos.co.il
Fri Oct 25 05:57:40 UTC 2013
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 <austinf at cetoncorp.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
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
More information about the uClibc
mailing list