diff options
author | Alan Modra <amodra@gmail.com> | 2002-09-20 07:57:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-09-20 07:57:08 +0000 |
commit | c7749bd6ecebecdfe24942bc12ff82795a6247db (patch) | |
tree | 76bd77119e8cf88942583df71cfd640dd9b14c21 /ld/testsuite/ld-i386 | |
parent | 759365550adde37c0e94b0109b128e41bc65418d (diff) | |
download | gdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.zip gdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.tar.gz gdb-c7749bd6ecebecdfe24942bc12ff82795a6247db.tar.bz2 |
* ld-i386/i386.exp: Only run tests on ELF targets.
Diffstat (limited to 'ld/testsuite/ld-i386')
-rw-r--r-- | ld/testsuite/ld-i386/i386.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index 4072dd5..09526f8 100644 --- a/ld/testsuite/ld-i386/i386.exp +++ b/ld/testsuite/ld-i386/i386.exp @@ -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 } |