aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-09-15 13:53:47 +0000
committerAlan Modra <amodra@gmail.com>2008-09-15 13:53:47 +0000
commitf42fb57409240f97fe271dcd4518345fb7652df5 (patch)
tree35364bc2b88bd943d5e274f0879e72ec57f583e7 /gas/testsuite
parent55f8b826e7939968d06a8acad344237c09e6aeaf (diff)
downloadgdb-f42fb57409240f97fe271dcd4518345fb7652df5.zip
gdb-f42fb57409240f97fe271dcd4518345fb7652df5.tar.gz
gdb-f42fb57409240f97fe271dcd4518345fb7652df5.tar.bz2
* gas/all/gas.exp: Don't run redef tests on a bunch of targets.
* gas/elf/elf.exp: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/all/gas.exp29
-rw-r--r--gas/testsuite/gas/elf/elf.exp6
3 files changed, 29 insertions, 11 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bc25499..b2188d4 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-15 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/all/gas.exp: Don't run redef tests on a bunch of targets.
+ * gas/elf/elf.exp: Likewise.
+
2008-09-14 Arnold Metselaar <arnold.metselaar@planet.nl>
* gas/z80/ld-group.s, gas/z80/ld-group.d: New test.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index f6e01f0..87908fb 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -81,30 +81,39 @@ case $target_triplet in {
}
# .set works differently on some targets.
+# most of the tests won't work on targets that set linkrelax.
+# 4 octet bytes confuse address matching on ti targets.
+# pdp11 gets unexpected reloc types.
case $target_triplet in {
{ alpha*-*-* } { }
+ { cr16*-*-* } { }
+ { crx*-*-* } { }
+ { h8300-*-* } { }
{ mips*-*-* } { }
- { *c54x*-*-* } { }
+ { mn10200-*-* } { }
+ { mn10300-*-* } { }
+ { pdp11-*-* } { }
+ { tic30*-*-* } { }
+ { tic4x*-*-* } { }
+ { tic54x*-*-* } { }
+ { xtensa*-*-* } { }
{ z80-*-* } { }
default {
- setup_xfail "*c30*-*-*" "*c4x*-*-*" "pdp11-*-*" "xtensa*-*-*"
run_dump_test redef
# The next two tests can fail if the target does not convert fixups
# against ordinary symbols into relocations against section symbols.
# This is usually revealed by the error message:
# symbol `sym' required but not present
- setup_xfail "*c30*-*-*" "*c4x*-*-*" "*arm*-*-*aout*" "*arm*-*-*coff" \
- "*arm*-*-pe" "crx*-*-*" "h8300*-*-*" "m68hc*-*-*" "maxq-*-*" \
- "mn10300-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*" "cr16-*-*"
+ setup_xfail "*arm*-*-*aout*" "*arm*-*-*coff" \
+ "*arm*-*-pe" "m68hc*-*-*" "maxq-*-*" \
+ "vax*-*-*" "z8k-*-*"
run_dump_test redef2
setup_xfail "*-*-aix*" "*-*-coff" "*-*-cygwin" "*-*-mingw*" "*-*-pe*" \
- "bfin-*-*" "*c4x*-*-*" "crx*-*-*" "h8300*-*-*" "hppa*-*-hpux*" \
- "m68hc*-*-*" "maxq-*-*" "mn10300-*-*" "or32-*-*" "pdp11-*-*" \
- "vax*-*-*" "z8k-*-*" "cr16-*-*"
+ "bfin-*-*" "hppa*-*-hpux*" \
+ "m68hc*-*-*" "maxq-*-*" "or32-*-*" \
+ "vax*-*-*" "z8k-*-*"
run_dump_test redef3
- setup_xfail "*c4x*-*-*"
gas_test_error "redef4.s" "" ".set for symbol already used as label"
- setup_xfail "*c4x*-*-*"
gas_test_error "redef5.s" "" ".set for symbol already defined through .comm"
}
}
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index a1132d3..5506903 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -88,16 +88,20 @@ if { ([istarget "*-*-*elf*"]
run_dump_test "group1b"
case $target_triplet in {
{ alpha*-*-* } { }
+ { cr16*-*-* } { }
+ { crx*-*-* } { }
+ { h8300-*-* } { }
{ hppa*-*-* } { }
{ iq2000*-*-* } { }
{ mips*-*-* } { }
+ { mn10200-*-* } { }
+ { mn10300-*-* } { }
{ *c54x*-*-* } { }
default {
# The next test can fail if the target does not convert fixups
# against ordinary symbols into relocations against section symbols.
# This is usually revealed by the error message:
# symbol `sym' required but not present
- setup_xfail "cr16-*-*" "h8300-*-*" "mn10300-*-*"
run_dump_test redef
run_dump_test equ-reloc
}