diff options
-rw-r--r-- | libc/ChangeLog.eglibc | 6 | ||||
-rw-r--r-- | libc/sysdeps/sh/Makefile | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index e7c8094b4..290517800 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,9 @@ +2011-12-02 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/sh/Makefile (CFLAGS-backtrace.c) + (CFLAGS-tst-backtrace2.c, CFLAGS-tst-backtrace3.c) + (CFLAGS-tst-backtrace4.c, CFLAGS-tst-backtrace5.c): Define. + 2011-12-01 Joseph Myers <joseph@codesourcery.com> Tom de Vries <tom@codesourcery.com> diff --git a/libc/sysdeps/sh/Makefile b/libc/sysdeps/sh/Makefile index cf18dedc4..c2215b4cb 100644 --- a/libc/sysdeps/sh/Makefile +++ b/libc/sysdeps/sh/Makefile @@ -1,3 +1,11 @@ ifeq ($(subdir),gmon) sysdep_routines += _mcount endif + +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -funwind-tables +CFLAGS-tst-backtrace2.c += -funwind-tables +CFLAGS-tst-backtrace3.c += -funwind-tables +CFLAGS-tst-backtrace4.c += -funwind-tables +CFLAGS-tst-backtrace5.c += -funwind-tables +endif |