aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2005-11-21 04:30:32 +0000
committerDave Anglin <dave.anglin@nrc.ca>2005-11-21 04:30:32 +0000
commit6745c7267e99deea1ae773f77825ceb2dbc89830 (patch)
tree274ca1e7b4f7d28e884d36b8b8ec09aa735d605e /gas
parentf50e79a459c94a0f69267d4d2300aac0e5736efb (diff)
downloadgdb-6745c7267e99deea1ae773f77825ceb2dbc89830.zip
gdb-6745c7267e99deea1ae773f77825ceb2dbc89830.tar.gz
gdb-6745c7267e99deea1ae773f77825ceb2dbc89830.tar.bz2
Bug gas/1894 Bug gas/1895
* gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*. * gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for "$DATA$" as well as ".data". * gas/all/redef2.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/all/gas.exp4
-rw-r--r--gas/testsuite/gas/all/redef.d4
-rw-r--r--gas/testsuite/gas/all/redef2.d4
4 files changed, 12 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f06098c..2046e06 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ Bug gas/1894 Bug gas/1895
+ * gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*.
+ * gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for
+ "$DATA$" as well as ".data".
+ * gas/all/redef2.d: Likewise.
+
Bug gas/1879
* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
* gas/all/weakref1.s: Indent "-ld1 = l".
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index c97a730..928dd88 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -85,8 +85,8 @@ case $target_triplet in {
"pdp11-*-*" "vax*-*-*" "z8k-*-*"
run_dump_test redef2
setup_xfail "*-*-aix*" "*-*-coff" "*-*-cygwin" "*-*-mingw*" "*-*-pe*" \
- "bfin-*-*" "*c4x*-*-*" "crx*-*-*" "h8300*-*-*" "m68hc*-*-*" \
- "maxq-*-*" "or32-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*"
+ "bfin-*-*" "*c4x*-*-*" "crx*-*-*" "h8300*-*-*" "hppa*-*-hpux*" \
+ "m68hc*-*-*" "maxq-*-*" "or32-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*"
run_dump_test redef3
setup_xfail "*c4x*-*-*"
gas_test_error "redef4.s" "" ".set for symbol already used as label"
diff --git a/gas/testsuite/gas/all/redef.d b/gas/testsuite/gas/all/redef.d
index fed1998..33e149c 100644
--- a/gas/testsuite/gas/all/redef.d
+++ b/gas/testsuite/gas/all/redef.d
@@ -1,8 +1,8 @@
-#objdump: -s -j .data
+#objdump: -s -j .data -j "\$DATA\$"
#name: .equ redefinitions
.*: .*
-Contents of section .data:
+Contents of section (\.data|\$DATA\$):
0000 00000000 0[04]00000[04] 0[08]00000[08] 0[0c]00000[0c][ ]+................[ ]*
#pass
diff --git a/gas/testsuite/gas/all/redef2.d b/gas/testsuite/gas/all/redef2.d
index d53efa5..328f7e5 100644
--- a/gas/testsuite/gas/all/redef2.d
+++ b/gas/testsuite/gas/all/redef2.d
@@ -1,4 +1,4 @@
-#objdump: -rsj .data
+#objdump: -rs -j .data -j "\$DATA\$"
#name: .equ redefinitions (2)
.*: .*
@@ -9,7 +9,7 @@ RELOCATION RECORDS FOR .*
0+08.*xtrn
0+10.*(sym|\.data(\+0x0+10)?)
#...
-Contents of section \.data:
+Contents of section (\.data|\$DATA\$):
0000 00000000 11111111 00000000 22222222[ ]+................[ ]*
0010 [01]00000[01]0 .*
#pass