blob: 98684dd7d5a26f3feea39868d4254f9f17c06a3c [file] [log] [blame]
#
# elf tests
#
# We're testing bits in obj-elf -- don't run on anything else.
if { ([istarget "*-*-elf*"]
|| [istarget "*-*-linux*"]
|| [istarget "sparc*-*-solaris*"]
|| [istarget "mips*-*-irix6*"])
&& ![istarget *-*-linux*aout*]
&& ![istarget *-*-linux*oldld*]
} then {
# FIXME: This doesn't work for MIPS targets because of the .reginfo
# and .mdebug sections.
setup_xfail mips*-*-*
run_dump_test "section0"
setup_xfail mips*-*-*
run_dump_test "section1"
}