From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20802 invoked by alias); 5 Jul 2013 16:32:11 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 20792 invoked by uid 89); 5 Jul 2013 16:32:10 -0000 X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-ea0-f175.google.com (HELO mail-ea0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 05 Jul 2013 16:32:10 +0000 Received: by mail-ea0-f175.google.com with SMTP id z7so1557972eaf.6 for ; Fri, 05 Jul 2013 09:32:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=xXsG85//Vex+ClaxaBAZwKGdHn5wULeN8wmU7ETDx/0=; b=Dn3PLZicnQcnhMBtv2dT036VOTzZEHr886ls1I0/vksV2ixMu/cGEzBYxtFJLg/Axd X4sfoSX6Fq7TwO3DURpxaxa1mp0DsG1ZuZuwyLLvQ7giybhGj4h2hpcfuW/IbvDaOgUR KSatHOq9GhxN9HQHvINhvsScbNrkd3rbROhDQXxKA3jUJqifBU3P8JeSLVLCwaQt6oTU UhZJxVKfE426JAqxMilOLK037P8JebG+MEie2dIiX5m2Eh2Qa/cM8BEuWj7gWPx8HJbx MiOS7rAWQIfJtyq3cvR8liKInrek1YPyGaCTcy6XGED9vZJRZbaUJg+Iy4CkGQ+puinY Wa1Q== X-Received: by 10.14.7.133 with SMTP id 5mr13163427eep.115.1373041927814; Fri, 05 Jul 2013 09:32:07 -0700 (PDT) Received: from thor.hackery.org.uk (mshawcroft.plus.com. [212.159.23.237]) by mx.google.com with ESMTPSA id c44sm15199050eeb.8.2013.07.05.09.32.05 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Jul 2013 09:32:06 -0700 (PDT) From: Marcus Shawcroft To: libc-ports@sourceware.org Cc: Marcus Shawcroft Subject: [PATCH] [AArch64] Adding -funwind-tables to backtrace.c Date: Fri, 05 Jul 2013 16:32:00 -0000 Message-Id: <1373041917-15079-1-git-send-email-marcus.shawcroft@linaro.org> X-Gm-Message-State: ALoCoQmeYxy+M4Pxh83QYd4/E7h7WTCKuUsTkfGW81srBAln+3ADTq2YYiik/3ut04YT/3hOmXeD X-SW-Source: 2013-07/txt/msg00024.txt.bz2 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 + * sysdeps/aarch64/Makefile (CFLAGS-backtrace.c): Define. + +2013-07-05 Marcus Shawcroft + * 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