aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-22 21:08:43 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-22 21:08:43 +0000
commitdde3199641447b2dcd927c0fa8e9d967799f1dac (patch)
tree57642fddb78cb51bef94913162554c5773cd1a30 /sysdeps/i386/Makefile
parent7d902c229839742d1c3f36c3344d4f8f33235586 (diff)
downloadglibc-dde3199641447b2dcd927c0fa8e9d967799f1dac.tar
glibc-dde3199641447b2dcd927c0fa8e9d967799f1dac.tar.gz
glibc-dde3199641447b2dcd927c0fa8e9d967799f1dac.tar.bz2
glibc-dde3199641447b2dcd927c0fa8e9d967799f1dac.zip
Update.
* debug/execinfo.h: Remove __THROW from backtrace prototype. 2004-10-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions. * sysdeps/i386/backtrace.c: Include <bits/libc-lock.h>, <dlfcn.h>, <stdlib.h> and <unwind.h>. Remove <bp-checks.h> include. (struct trace_arg): New type. (unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New fn pointers resp. macros. (init, backtrace_helper): New functions. (__backtrace): Rewritten to use _Unwind_Backtrace first and fall back to frame pointer walking. 2004-10-22 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'sysdeps/i386/Makefile')
-rw-r--r--sysdeps/i386/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index fb14806029..52faaa3109 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -21,6 +21,10 @@ CFLAGS-dl-load.c += -Wno-unused
CFLAGS-dl-reloc.c += -Wno-unused
endif
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -fexceptions
+endif
+
# Most of the glibc routines don't ever call user defined callbacks
# nor use any FPU or SSE* and as such don't need bigger %esp alignment
# than 4 bytes.