alpha: Enable unwind tables for backtrace.c

This commit is contained in:
Richard Henderson 2014-04-16 21:32:27 -07:00
parent a3df56fcae
commit d77c0899db
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2014-04-16 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
unwind tables.
* sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
const from the non-libc, non-ldso copy.

View File

@ -20,6 +20,11 @@ ifeq ($(subdir),db2)
CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_ALPHA=1
endif
ifeq ($(subdir),debug)
# Consider making this GCC's default...
CFLAGS-backtrace.c = -fasynchronous-unwind-tables
endif
ifeq ($(subdir),gmon)
sysdep_routines += _mcount
endif