MIPS/GAS/testsuite: Restrict 64-bit `branch-mips' tests to NewABI targets
authorMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 21:14:27 +0000 (22:14 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 21:15:43 +0000 (22:15 +0100)
... removing numerous `mips-sgi-irix5' failures.

gas/
* testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
tests to NewABI targets.

gas/ChangeLog
gas/testsuite/gas/mips/mips.exp

index 70435c6dcb3f44b594d621d539903ffbf0449b4b..8acbbea8acecdcdf4ed32e15e1701d80f54ba45a 100644 (file)
@@ -1,3 +1,8 @@
+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
index 29aad675f55d7c38adc504d5b3021f4d83bd9147..e20905e1b1f763dc1ceb8548c07bd8db8f6e96c4 100644 (file)
@@ -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