ld/testsuite/

* ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests.
This commit is contained in:
Richard Sandiford 2011-05-11 12:50:58 +00:00
parent f11e29afea
commit 250826bd54
2 changed files with 11 additions and 3 deletions

View 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> 2011-05-09 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/elf.exp (array_tests): Remove "pr12730". * ld-elf/elf.exp (array_tests): Remove "pr12730".

View File

@ -160,8 +160,10 @@ if $has_newabi {
if { $linux_gnu } { if { $linux_gnu } {
run_dump_test "rel32-o32" run_dump_test "rel32-o32"
run_dump_test "rel32-n32" if { $has_newabi } {
run_dump_test "rel64" run_dump_test "rel32-n32"
run_dump_test "rel64"
}
# The first test checks that a mixed PIC/non-PIC relocatable link # The first test checks that a mixed PIC/non-PIC relocatable link
# will not introduce any stubs itself, but will flag PIC functions # will not introduce any stubs itself, but will flag PIC functions
# for the final link. # for the final link.
@ -333,7 +335,9 @@ if {$has_newabi} {
} }
if { $linux_gnu } { if { $linux_gnu } {
run_dump_test "textrel-1" if { $has_newabi } {
run_dump_test "textrel-1"
}
run_dump_test "got-page-1" run_dump_test "got-page-1"
if $has_newabi { if $has_newabi {
run_dump_test "got-page-2" run_dump_test "got-page-2"