* ld-i386/i386.exp: Only run tests on ELF targets.
authorAlan Modra <amodra@gmail.com>
Fri, 20 Sep 2002 07:57:08 +0000 (07:57 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 20 Sep 2002 07:57:08 +0000 (07:57 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp

index fc82ea0..6f3ef89 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-i386/i386.exp: Only run tests on ELF targets.
+
 2002-09-19  Jakub Jelinek  <jakub@redhat.com>
 
        * ld-i386/i386.exp: New.
index 4072dd5..09526f8 100644 (file)
 # Test i386 linking; all types of relocs.  This tests the assembler and
 # tools like objdump as well as the linker.
 
-if ![istarget i?86-*-*] {
+if { !([istarget "i?86-*-elf*"]                
+       || ([istarget "i?86-*-linux*"]
+          && ![istarget "*-*-*aout*"]
+          && ![istarget "*-*-*oldld*"])) } {
     return
 }