aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-04-23 14:15:21 +0000
committerNick Clifton <nickc@redhat.com>2004-04-23 14:15:21 +0000
commit2abe3c6ccd6a559f6befe403caef08500cf4e0ec (patch)
tree3e87a0a202c61087d1d7dac18ba3f9d18fe74a34 /gas
parent47a9f7b34f7a3421ea4d2f55406a24b8028337f9 (diff)
downloadgdb-2abe3c6ccd6a559f6befe403caef08500cf4e0ec.zip
gdb-2abe3c6ccd6a559f6befe403caef08500cf4e0ec.tar.gz
gdb-2abe3c6ccd6a559f6befe403caef08500cf4e0ec.tar.bz2
Cope with extra symbols inserted by arm-elf toolchains
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/elf/symver.d2
-rw-r--r--gas/testsuite/gas/symver/symver0.d4
-rw-r--r--gas/testsuite/gas/symver/symver1.d4
4 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d6643b2..31e854d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2004-04-23 Nick Clifton <nickc@redhat.com>
+
+ * 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 <kkojima@rr.iij4u.or.jp>
* gas/sh/pcrel2.d: Update.
diff --git a/gas/testsuite/gas/elf/symver.d b/gas/testsuite/gas/elf/symver.d
index 67b8a4c..78bb618 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 d318a30..9ad6c88 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 e1d80ea..ab9b949 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