From: Jason Thorpe Date: Tue, 10 Dec 2002 15:54:23 +0000 (+0000) Subject: * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e06d9b458937264621d6ec81ccf9a6bab3337cac;p=binutils-gdb.git * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4226307bba9..58d4eb92675 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-12-10 Jason Thorpe + + * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. + 2002-12-03 Nick Clifton * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 4217636eb03..9a0b7393ff3 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -344,6 +344,7 @@ proc is_elf_format {} { && ![istarget *-*-linux*] \ && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \ + && ![istarget *-*-netbsd*] \ && ![istarget *-*-solaris2*] } { return 0 } @@ -352,6 +353,18 @@ proc is_elf_format {} { || [istarget *-*-linux*oldld*] } { return 0 } + + if { ![istarget *-*-netbsdelf*] \ + && ([istarget *-*-netbsd*aout*] \ + || [istarget *-*-netbsdpe*] \ + || [istarget arm*-*-netbsd*] \ + || [istarget sparc-*-netbsd*] \ + || [istarget i*86-*-netbsd*] \ + || [istarget m68*-*-netbsd*] \ + || [istarget vax-*-netbsd*] \ + || [istarget ns32k-*-netbsd*]) } { + return 0 + } return 1 }