summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2024-05-01 04:37:26 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-21 06:07:31 +0200
commit799cd4cf0ae124dcd4c80524f564b126e25ac870 (patch)
tree3d0dbf58a1a04ddacfa5542d5d2cdfde1025432b
parent3f6ad63609f4496160ada83efb120744446eda94 (diff)
linuxthreads: enable unwinding over signal frames
linuxthreads use a helper function to invoke signal handlers, this function needs stack unwinding information to enable stack unwinding from signal handlers over signal frames. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r--libpthread/linuxthreads/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in
index ffdd5d4eb..cc2a5f285 100644
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -16,6 +16,8 @@ libpthread_OUT := $(top_builddir)libpthread/linuxthreads
-include $(libpthread_DIR)/sysdeps/$(TARGET_ARCH)/Makefile.arch
+CFLAGS-signals.c = -fexceptions -fasynchronous-unwind-tables
+
libpthread_SRC := \
attr.c cancel.c condvar.c errno.c events.c join.c lockfile.c manager.c \
mutex.c pt-machine.c ptfork.c pthread.c ptlongjmp.c \