* ld-i386/i386.exp: Only run tests on ELF targets.

This commit is contained in:
Alan Modra 2002-09-20 07:57:08 +00:00
parent 759365550a
commit c7749bd6ec
2 changed files with 8 additions and 1 deletions

View 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.

View File

@ -19,7 +19,10 @@
# 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
}