From patchwork Fri Oct 14 12:44:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Werner X-Patchwork-Id: 4681 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 24D8023DEE for ; Fri, 14 Oct 2011 12:44:21 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id E869EA187C8 for ; Fri, 14 Oct 2011 12:44:20 +0000 (UTC) Received: by gyf1 with SMTP id 1so1537508gyf.11 for ; Fri, 14 Oct 2011 05:44:20 -0700 (PDT) Received: by 10.223.77.71 with SMTP id f7mr3915703fak.33.1318596259825; Fri, 14 Oct 2011 05:44:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.24.41 with SMTP id r9cs14032laf; Fri, 14 Oct 2011 05:44:19 -0700 (PDT) Received: by 10.216.181.5 with SMTP id k5mr2083821wem.20.1318596258636; Fri, 14 Oct 2011 05:44:18 -0700 (PDT) Received: from mtagate2.uk.ibm.com (mtagate2.uk.ibm.com. [194.196.100.162]) by mx.google.com with ESMTPS id m9si2917039wed.111.2011.10.14.05.44.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Oct 2011 05:44:18 -0700 (PDT) Received-SPF: neutral (google.com: 194.196.100.162 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) client-ip=194.196.100.162; Authentication-Results: mx.google.com; spf=neutral (google.com: 194.196.100.162 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) smtp.mail=ken.werner@linaro.org Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p9ECiHUF029066 for ; Fri, 14 Oct 2011 12:44:17 GMT Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p9ECiHoN2515152 for ; Fri, 14 Oct 2011 13:44:17 +0100 Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p9ECiHD3025344 for ; Fri, 14 Oct 2011 06:44:17 -0600 Received: from localhost.localdomain (dyn-9-152-224-39.boeblingen.de.ibm.com [9.152.224.39]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p9ECiG4m025329; Fri, 14 Oct 2011 06:44:16 -0600 From: Ken Werner To: libunwind-devel@nongnu.org Subject: [PATCH] [ARM] fix for the check-namespace test case Date: Fri, 14 Oct 2011 14:44:15 +0200 Message-Id: <1318596255-27239-2-git-send-email-ken.werner@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1318596255-27239-1-git-send-email-ken.werner@linaro.org> References: <1318596255-27239-1-git-send-email-ken.werner@linaro.org> Add ARM specific symbols and ignore some symbols generated by the ARM Linux default linker script. Signed-off-by: Ken Werner --- tests/check-namespace.sh.in | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/tests/check-namespace.sh.in b/tests/check-namespace.sh.in index 0608607..4858faa 100644 --- a/tests/check-namespace.sh.in +++ b/tests/check-namespace.sh.in @@ -69,6 +69,15 @@ filter_misc () { ignore _Uelf64_valid_object ignore _U.*debug_level ignore ICRT.INTERNAL # ICC 8.x defines this + + # Ignore symbols generated by the ARM Linux default linker script. + # For details see the binutils sources (src/ld/emulparams/armelf_linux.sh). + if [ ${plat} = "arm" ]; then + ignore __bss_start__ + ignore __bss_end__ + ignore __end__ + ignore _bss_end__ + fi } check_local_unw_abi () { @@ -105,6 +114,12 @@ check_local_unw_abi () { match backtrace case ${plat} in + arm) + match _U${plat}_get_elf_image + match _U${plat}_is_fpreg + match _UL${plat}_search_unwind_table + match _UL${plat}_dwarf_search_unwind_table + ;; hppa) match _UL${plat}_dwarf_search_unwind_table match _U${plat}_get_elf_image @@ -162,6 +177,12 @@ check_generic_unw_abi () { match _U${plat}_strerror case ${plat} in + arm) + match _U${plat}_is_fpreg + match _U${plat}_get_elf_image + match _U${plat}_search_unwind_table + match _U${plat}_dwarf_search_unwind_table + ;; hppa) match _U${plat}_dwarf_search_unwind_table match _U${plat}_get_elf_image