Build SH backtrace with -funwind-tables.

This commit is contained in:
Joseph Myers 2012-11-01 00:22:53 +00:00
parent 62c4a69dc2
commit 903252aadb
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -1,3 +1,7 @@
ifeq ($(subdir),gmon)
sysdep_routines += _mcount
endif
ifeq ($(subdir),debug)
CFLAGS-backtrace.c += -funwind-tables
endif