summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-05-11 12:50:58 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2011-05-11 12:50:58 +0000
commit250826bd544589968cfaef3fb087a6327cc48698 (patch)
tree4155b9c7264c541c3adc8900b0e88757cf952f5f /ld/testsuite/ld-mips-elf
parentf11e29afea09cc481991c3670e892d6630ebe5de (diff)
downloadppe42-binutils-250826bd544589968cfaef3fb087a6327cc48698.tar.gz
ppe42-binutils-250826bd544589968cfaef3fb087a6327cc48698.zip
ld/testsuite/
* ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp10
1 files changed, 7 insertions, 3 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 71c8bcc177..2361965296 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -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"
OpenPOWER on IntegriCloud