about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-07-05 17:12:46 +0100
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-07-12 11:22:32 +0100
commit39f0b2e91ac8b2a16f2099b4b759708dcbeb6458 (patch)
treec9bcab7813e69727c4c3e1079696f2b08d37b0a2 /ports
parent8ab07407ba4857e0d565288f786a53360b17466b (diff)
downloadglibc-39f0b2e91ac8b2a16f2099b4b759708dcbeb6458.tar.gz
glibc-39f0b2e91ac8b2a16f2099b4b759708dcbeb6458.tar.xz
glibc-39f0b2e91ac8b2a16f2099b4b759708dcbeb6458.zip
[AArch64] Adding -funwind-tables to backtrace.c
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.aarch644
-rw-r--r--ports/sysdeps/aarch64/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index e10fd8b3a4..3f26cb79f8 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,7 @@
+2013-07-12  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+	* sysdeps/aarch64/Makefile (CFLAGS-backtrace.c): Define.
+
 2013-07-09  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 
 	* sysdeps/unix/sysv/linux/aarch64/dl-static.c: New file to support
diff --git a/ports/sysdeps/aarch64/Makefile b/ports/sysdeps/aarch64/Makefile
index ce2cedd52b..5af7a1655e 100644
--- a/ports/sysdeps/aarch64/Makefile
+++ b/ports/sysdeps/aarch64/Makefile
@@ -1,5 +1,9 @@
 long-double-fcts = yes
 
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif
+
 ifeq ($(subdir),elf)
 sysdep-dl-routines += tlsdesc dl-tlsdesc
 sysdep_routines += tlsdesc dl-tlsdesc