From: Joseph Myers Date: Thu, 1 Nov 2012 00:22:53 +0000 (+0000) Subject: Build SH backtrace with -funwind-tables. X-Git-Tag: glibc-2.17~303 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=903252aadbc70177af4ab891a8854e9e252e293d;p=thirdparty%2Fglibc.git Build SH backtrace with -funwind-tables. --- diff --git a/ChangeLog b/ChangeLog index 1296ee6d874..c1fbbe2121a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-10-31 Joseph Myers + + * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c): + New variable. + 2012-10-31 Thomas Schwinge * rt/tst-shm.c (worker): Correct checking for mmap failure. diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile index cf18dedc45e..bb7c5536205 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