From: Richard Henderson Date: Thu, 17 Apr 2014 04:32:27 +0000 (-0700) Subject: alpha: Enable unwind tables for backtrace.c X-Git-Tag: glibc-2.20~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77c0899db92dfc2bed535efb91cf9918478fd86;p=thirdparty%2Fglibc.git alpha: Enable unwind tables for backtrace.c --- diff --git a/ChangeLog b/ChangeLog index 31731d3d102..a54ec9ad077 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-04-16 Richard Henderson + * 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. diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 1cf77fb239b..bf133b9bc0d 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -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