proc gas_64_check { } {
global NM
global NMFLAGS
- global srcdir
- catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help
- return [regexp "elf64\[_-\]sparc" $nm_help]
+ set status [gas_host_run "$NM $NMFLAGS --help" ""]
+ return [regexp "elf64\[_-\]sparc" [lindex $status 1]]
}
proc sparc_elf_setup { } {
if [istarget sparc*-*-*] {
run_dump_test "synth"
- # The next three tests are ELF only.
+ # The next four tests are ELF only.
sparc_elf_setup
run_dump_test "unalign"
sparc_elf_setup
run_dump_test "pcrel"
sparc_elf_setup
run_dump_test "plt"
+ sparc_elf_setup
+ run_dump_test "gotop32"
if [gas_64_check] {
run_dump_test "asi"
run_dump_test "membar"
run_dump_test "reloc64"
run_dump_test "pcrel64"
run_dump_test "plt64"
+ run_dump_test "gotop64"
}
run_dump_test "v9branch1"
run_dump_test "v9branch2"
run_dump_test "v9branch3"
run_dump_test "v9branch4"
run_dump_test "v9branch5"
+ run_dump_test "pc2210"
run_list_test "pr4587" ""
}