* ld-elf/elf.exp: Use if_elf_format.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / sec64k.exp
index bfc6d0fdcc430b944f08342409345a074142b44b..fe3e15ea82f90449d23e8bc043d3aeb26439d978 100644 (file)
 
 # Exclude non-ELF targets.
 
-if { ![istarget *-*-linux*] \
-     && ![istarget *-*-gnu] \
-     && ![istarget hppa*64*-*-hpux*] \
-     && ![istarget *-*-elf] } {
-    return
-}
-
-if { [istarget *-*-linux*aout*] \
-     || [istarget *-*-linux*oldld*] } {
+if ![is_elf_format] {
     return
 }
 
This page took 0.024309 seconds and 4 git commands to generate.