* [PATCH] [AArch64] Adding -funwind-tables to backtrace.c
@ 2013-07-05 16:32 Marcus Shawcroft
0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2013-07-05 16:32 UTC (permalink / raw)
To: libc-ports; +Cc: Marcus Shawcroft
The debug/tst-backtrace*.c tests are currently failing for AArch64. Patch below.
Is this OK for 2.18?
Thanks
/Marcus
* sysdeps/aarch64/Makefile (CFLAGS-backtrace.c): Define.
---
ports/ChangeLog.aarch64 | 4 ++++
ports/sysdeps/aarch64/Makefile | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 15bdd76..0c4c6f0 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,5 +1,9 @@
2013-07-05 Marcus Shawcroft <marcus.shawcroft@linaro.org>
+ * sysdeps/aarch64/Makefile (CFLAGS-backtrace.c): Define.
+
+2013-07-05 Marcus Shawcroft <marcus.shawcroft@linaro.org>
+
* sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist (mcount): Add.
(__mcount): Likewise.
diff --git a/ports/sysdeps/aarch64/Makefile b/ports/sysdeps/aarch64/Makefile
index ce2cedd..5af7a16 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
--
1.8.1.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-05 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-05 16:32 [PATCH] [AArch64] Adding -funwind-tables to backtrace.c Marcus Shawcroft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).