From: Nick Clifton Date: Fri, 23 Apr 2004 14:15:21 +0000 (+0000) Subject: Cope with extra symbols inserted by arm-elf toolchains X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2abe3c6ccd6a559f6befe403caef08500cf4e0ec;p=binutils-gdb.git Cope with extra symbols inserted by arm-elf toolchains --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d6643b2feb1..31e854d0672 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-04-23 Nick Clifton + + * gas/symver/symver1.d: Cope with extra symbols inserted by + arm-elf toolchains. + * gas/symver/symver0.d: Likewise + * gas/elf/symver.d: Likewise. + 2004-04-22 Kaz Kojima * gas/sh/pcrel2.d: Update. diff --git a/gas/testsuite/gas/elf/symver.d b/gas/testsuite/gas/elf/symver.d index 67b8a4cf13b..78bb6186e0c 100644 --- a/gas/testsuite/gas/elf/symver.d +++ b/gas/testsuite/gas/elf/symver.d @@ -3,6 +3,7 @@ # # The #... and #pass are there to match extra symbols inserted by # some toolchains, eg the mips-elf port will add .reginfo and .ptrd +# and the arm-elf toolchain will add $d. dump.o: file format .* @@ -13,5 +14,6 @@ SYMBOL TABLE: 0+000 l.*d.*\.bss.*0+000.* #... 0+000 l.*O.*\.data.*0+004 x +#... 0+000 l.*O.*\.data.*0+004 x@VERS\.0 #pass diff --git a/gas/testsuite/gas/symver/symver0.d b/gas/testsuite/gas/symver/symver0.d index d318a30c319..9ad6c88e836 100644 --- a/gas/testsuite/gas/symver/symver0.d +++ b/gas/testsuite/gas/symver/symver0.d @@ -1,6 +1,10 @@ #nm: -n #name: symver symver0 +# +# The #... and #pass are there to match extra symbols inserted by +# some toolchains, eg arm-elf toolchain will add $d. [ ]+U foo@version1 +#... 0+0000000 D foo1 0+00000.. d L_foo1 diff --git a/gas/testsuite/gas/symver/symver1.d b/gas/testsuite/gas/symver/symver1.d index e1d80ea3e08..ab9b9495b18 100644 --- a/gas/testsuite/gas/symver/symver1.d +++ b/gas/testsuite/gas/symver/symver1.d @@ -1,7 +1,11 @@ #nm: -n #name: symver symver1 +# +# The #... and #pass are there to match extra symbols inserted by +# some toolchains, eg arm-elf toolchain will add $d. [ ]+U foo@version1 +#... 0+0000000 D foo1@@version1 0+00000.. d L_foo1 0+00000.. D foo2