diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-09-14 12:47:35 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-09-19 15:07:58 +0100 |
commit | ca3a382ea3aa9c9ccb57060afae47c7f702727ac (patch) | |
tree | 53dbe1397c04c1ee52a024bd4193e1119b625df7 /sysdeps/i386 | |
parent | eb375def3ddd2a1738ed6bc5ace98753f0f7e5e6 (diff) | |
download | glibc-ca3a382ea3aa9c9ccb57060afae47c7f702727ac.tar.gz glibc-ca3a382ea3aa9c9ccb57060afae47c7f702727ac.tar.xz glibc-ca3a382ea3aa9c9ccb57060afae47c7f702727ac.zip |
Enable unwind info in libc-start.c and backtrace.c
Add unwind info to __libc_start_main so that unwinding continues one extra level to _start. Similarly add unwind info to backtrace. Given many targets require this, do this in a general way. * csu/Makefile: Add -funwind-tables to libc-start.c. * debug/Makefile: Add -funwind-tables to backtrace.c. * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c. * sysdeps/arm/Makefile: Likewise. * sysdeps/i386/Makefile: Likewise. * sysdeps/m68k/Makefile: Likewise. * sysdeps/mips/Makefile: Likewise. * sysdeps/nios2/Makefile: Likewise. * sysdeps/sh/Makefile: Likewise. * sysdeps/sparc/Makefile: Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile index e30e1339f0..a1500454e5 100644 --- a/sysdeps/i386/Makefile +++ b/sysdeps/i386/Makefile @@ -19,10 +19,6 @@ 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. |