From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22066 invoked by alias); 2 May 2002 14:55:46 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 22050 invoked from network); 2 May 2002 14:55:44 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 2 May 2002 14:55:44 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id g42Etd117996; Thu, 2 May 2002 16:55:39 +0200 Date: Thu, 02 May 2002 07:55:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Generate unwind info for pthread_sighandler* Message-ID: <20020502165539.M32482@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-SW-Source: 2002-05/txt/msg00003.txt.bz2 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 * 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