From c7749bd6ecebecdfe24942bc12ff82795a6247db Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 20 Sep 2002 07:57:08 +0000 Subject: [PATCH] * ld-i386/i386.exp: Only run tests on ELF targets. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-i386/i386.exp | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fc82ea0eb5a..6f3ef894070 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-09-20 Alan Modra + + * ld-i386/i386.exp: Only run tests on ELF targets. + 2002-09-19 Jakub Jelinek * ld-i386/i386.exp: New. diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index 4072dd575a8..09526f8d2ad 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 } -- 2.30.2