diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2013-01-20 01:31:07 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2013-01-20 14:29:57 +0100 |
commit | 7cd24045d6967c3ae0699fd58a98111ac9de0751 (patch) | |
tree | f1fb3114fcbc0a345a09fe7efc33081eba90160b /ports | |
parent | ed689c2f74104b9d5c9ab0cd97122f93f89ffba5 (diff) | |
download | glibc-7cd24045d6967c3ae0699fd58a98111ac9de0751.zip glibc-7cd24045d6967c3ae0699fd58a98111ac9de0751.tar.gz glibc-7cd24045d6967c3ae0699fd58a98111ac9de0751.tar.bz2 |
m68k: add unwind tables to backtrace
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.m68k | 4 | ||||
-rw-r--r-- | ports/sysdeps/m68k/Makefile | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k index e470ed8..7e58a8a 100644 --- a/ports/ChangeLog.m68k +++ b/ports/ChangeLog.m68k @@ -1,3 +1,7 @@ +2013-01-20 Andreas Schwab <schwab@linux-m68k.org> + + * sysdeps/m68k/Makefile (CFLAGS-backtrace.c): Add -funwind-tables. + 2013-01-19 Andreas Schwab <schwab@linux-m68k.org> * sysdeps/m68k/backtrace.c: New file. diff --git a/ports/sysdeps/m68k/Makefile b/ports/sysdeps/m68k/Makefile index ef79830..c5b5318 100644 --- a/ports/sysdeps/m68k/Makefile +++ b/ports/sysdeps/m68k/Makefile @@ -26,8 +26,14 @@ asm-CPPFLAGS += $(m68k-syntax-flag) pic-ccflag = -fpic +ifeq ($(subdir),setjmp) # Make sure setjmp.c is compiled with a frame pointer CFLAGS-setjmp.c := -fno-omit-frame-pointer +endif + +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -funwind-tables +endif ifeq ($(subdir),elf) CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused |