]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/testsuite/
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 11 May 2011 12:50:58 +0000 (12:50 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 11 May 2011 12:50:58 +0000 (12:50 +0000)
* ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests.

ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp

index e2997b06e9add4ede3f2f8235f7c9a802a013e88..2cbe74cbeaa38cc4c021566f02110bc435e9ebe4 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-11  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests.
+
 2011-05-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        * ld-elf/elf.exp (array_tests): Remove "pr12730".
index 71c8bcc177a06db1621affe278836fedd12d8229..2361965296994a6c966dc7ff29c2fcd5f9e67ba9 100644 (file)
@@ -160,8 +160,10 @@ if $has_newabi {
 
 if { $linux_gnu } {
     run_dump_test "rel32-o32"
-    run_dump_test "rel32-n32"
-    run_dump_test "rel64"
+    if { $has_newabi } {
+       run_dump_test "rel32-n32"
+       run_dump_test "rel64"
+    }
     # The first test checks that a mixed PIC/non-PIC relocatable link
     # will not introduce any stubs itself, but will flag PIC functions
     # for the final link.
@@ -333,7 +335,9 @@ if {$has_newabi} {
 }
 
 if { $linux_gnu } {
-    run_dump_test "textrel-1"
+    if { $has_newabi } {
+       run_dump_test "textrel-1"
+    }
     run_dump_test "got-page-1"
     if $has_newabi {
        run_dump_test "got-page-2"