public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Marcus Shawcroft <marcus.shawcroft@linaro.org>
To: libc-ports@sourceware.org
Cc: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Subject: [PATCH] [AArch64] Adding -funwind-tables to backtrace.c
Date: Fri, 05 Jul 2013 16:32:00 -0000	[thread overview]
Message-ID: <1373041917-15079-1-git-send-email-marcus.shawcroft@linaro.org> (raw)

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

                 reply	other threads:[~2013-07-05 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373041917-15079-1-git-send-email-marcus.shawcroft@linaro.org \
    --to=marcus.shawcroft@linaro.org \
    --cc=libc-ports@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).