summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-07-02 22:14:27 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-07-02 22:15:43 +0100
commitd7f20d660a38564dc798f7a77169f5873174041c (patch)
tree87528a9a9ab341bcd747d408671347fec112bd19
parente51af1571fa936f425bbf128833c2b674d549722 (diff)
downloadbinutils-gdb-d7f20d660a38564dc798f7a77169f5873174041c.tar.gz
MIPS/GAS/testsuite: Restrict 64-bit `branch-mips' tests to NewABI targets
... removing numerous `mips-sgi-irix5' failures. gas/ * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips' tests to NewABI targets.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/mips.exp11
2 files changed, 13 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 70435c6dcb3..8acbbea8ace 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
+ * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
+ tests to NewABI targets.
+
+2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
+
* testsuite/gas/mips/mips.exp: Group `branch-misc' tests
together.
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 29aad675f55..e20905e1b1f 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -559,11 +559,16 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test_arches "branch-misc-1" [mips_arch_list_matching mips1]
run_dump_test_arches "branch-misc-2" [mips_arch_list_matching mips1]
run_dump_test_arches "branch-misc-2pic" [mips_arch_list_matching mips1]
- run_dump_test_arches "branch-misc-2-64" [mips_arch_list_matching mips3]
- run_dump_test_arches "branch-misc-2pic-64" [mips_arch_list_matching mips3]
run_dump_test "branch-misc-3"
run_dump_test_arches "branch-misc-4" [mips_arch_list_matching mips1]
- run_dump_test_arches "branch-misc-4-64" [mips_arch_list_matching mips3]
+ if $has_newabi {
+ run_dump_test_arches "branch-misc-2-64" \
+ [mips_arch_list_matching mips3]
+ run_dump_test_arches "branch-misc-2pic-64" \
+ [mips_arch_list_matching mips3]
+ run_dump_test_arches "branch-misc-4-64" \
+ [mips_arch_list_matching mips3]
+ }
run_dump_test "branch-swap"
# Sweep a range of branch offsets so that it hits a position where