[PATCH] Generate unwind info for pthread_sighandler*

Jakub Jelinek jakub@redhat.com
Thu May 2 07:55:00 GMT 2002


Hi!

I think one should be able to unwind through the pthread
signal handler wrappers (e.g. libjava currently uses very ugly workarounds
because of this).
Or would you prefer instead moving those 2 functions into separate source
file and add exceptions just to that file?

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

	* Makefile (CFLAGS-signals.c): Build unwind info.

--- linuxthreads/Makefile.jj	Wed Jan 30 18:01:24 2002
+++ linuxthreads/Makefile	Thu May  2 16:57:10 2002
@@ -80,6 +80,7 @@ CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_
 CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES
 CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES -D_RPC_THREAD_SAFE_
 CFLAGS-unload.c += -DPREFIX=\"$(objpfx)\"
+CFLAGS-signals.c += $(exceptions)
 
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by

	Jakub



More information about the Libc-hacker mailing list