aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-16 21:32:27 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-16 21:35:29 -0700
commitd77c0899db92dfc2bed535efb91cf9918478fd86 (patch)
treefac70cb26236efe1742204d06911a3a16aa2cd35
parenta3df56fcae737c71508c7f8d38f0728642b66d66 (diff)
downloadglibc-d77c0899db92dfc2bed535efb91cf9918478fd86.zip
glibc-d77c0899db92dfc2bed535efb91cf9918478fd86.tar.gz
glibc-d77c0899db92dfc2bed535efb91cf9918478fd86.tar.bz2
alpha: Enable unwind tables for backtrace.c
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/alpha/Makefile5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31731d3..a54ec9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile
index 1cf77fb..bf133b9 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