about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/alpha/Makefile5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31731d3d10..a54ec9ad07 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 1cf77fb239..bf133b9bc0 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