libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH] [ARM] fix for the check-namespace test case


From: Ken Werner
Subject: [Libunwind-devel] [PATCH] [ARM] fix for the check-namespace test case
Date: Fri, 14 Oct 2011 14:44:15 +0200

Add ARM specific symbols and ignore some symbols generated by the ARM Linux
default linker script.

Signed-off-by: Ken Werner <address@hidden>
---
 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
-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]