diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-01 00:22:53 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-01 00:22:53 +0000 |
commit | 903252aadbc70177af4ab891a8854e9e252e293d (patch) | |
tree | ae188b05a4060dab235585f37e8b5dfce16e7d9f | |
parent | 62c4a69dc2aea24776cbf0e951d41709a7408cc6 (diff) | |
download | glibc-903252aadbc70177af4ab891a8854e9e252e293d.tar glibc-903252aadbc70177af4ab891a8854e9e252e293d.tar.gz glibc-903252aadbc70177af4ab891a8854e9e252e293d.tar.bz2 glibc-903252aadbc70177af4ab891a8854e9e252e293d.zip |
Build SH backtrace with -funwind-tables.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/sh/Makefile | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2012-10-31 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c): + New variable. + 2012-10-31 Thomas Schwinge <thomas@codesourcery.com> * rt/tst-shm.c (worker): Correct checking for mmap failure. diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile index cf18dedc45..bb7c553620 100644 --- a/sysdeps/sh/Makefile +++ b/sysdeps/sh/Makefile @@ -1,3 +1,7 @@ ifeq ($(subdir),gmon) sysdep_routines += _mcount endif + +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -funwind-tables +endif |