* gas/mips/mips.exp (el): New variable.

Use it to pick ELF reloc tests.
This commit is contained in:
Richard Sandiford 2001-07-30 13:59:00 +00:00
parent 1f554c6920
commit 0c4ec1515b
2 changed files with 17 additions and 39 deletions

View File

@ -1,3 +1,8 @@
2001-07-31 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/mips.exp (el): New variable.
Use it to pick ELF reloc tests.
2001-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/lif-empic.d: Add back dollar signs before floating

View File

@ -29,6 +29,11 @@ if { [istarget mips*-*-*] } then {
} else {
set tmips ""
}
if [istarget mips*el-*-*] {
set el el
} {
set el ""
}
run_dump_test "abs"
run_dump_test "add"
@ -131,50 +136,18 @@ if { [istarget mips*-*-*] } then {
run_dump_test "elf_e_flags3"
run_dump_test "elf_e_flags4"
if [istarget mips*el-*-*] {
run_dump_test "elfel-rel"
} {
run_dump_test "elf-rel"
}
run_dump_test "elf${el}-rel"
if [istarget mips64*-*-*] {
if [istarget mips*el-*-*] {
run_dump_test "elfel-rel2"
run_dump_test "elf${el}-rel2"
} {
run_dump_test "elf-rel2"
run_dump_test "e32${el}-rel2"
}
} {
if [istarget mips*el-*-*] {
run_dump_test "e32el-rel2"
} {
run_dump_test "e32-rel2"
}
}
if [istarget mips*el-*-*] {
run_dump_test "elfel-rel3"
} {
run_dump_test "elf-rel3"
}
if [istarget mips*el-*-*] {
run_dump_test "${tmips}elempic"
} {
run_dump_test "${tmips}empic"
}
run_dump_test "elf${el}-rel3"
run_dump_test "${tmips}${el}empic"
if { !$no_mips16 } {
if [istarget mips*el-*-*] {
run_dump_test "${tmips}mipsel16-e"
} {
run_dump_test "${tmips}mips16-e"
}
run_dump_test "${tmips}mips${el}16-e"
setup_xfail "mips*-*-*"
if [istarget mips*el-*-*] {
run_dump_test "mipsel16-f"
} {
run_dump_test "mips16-f"
}
run_dump_test "mips${el}16-f"
}
}
}