From 39f0b2e91ac8b2a16f2099b4b759708dcbeb6458 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Fri, 5 Jul 2013 17:12:46 +0100 Subject: [PATCH] [AArch64] Adding -funwind-tables to backtrace.c --- 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 e10fd8b..3f26cb7 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,3 +1,7 @@ +2013-07-12 Marcus Shawcroft + + * sysdeps/aarch64/Makefile (CFLAGS-backtrace.c): Define. + 2013-07-09 Marcus Shawcroft * 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 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 -- 2.7.4