* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
authorJason Thorpe <thorpej@netbsd.org>
Tue, 10 Dec 2002 15:54:23 +0000 (15:54 +0000)
committerJason Thorpe <thorpej@netbsd.org>
Tue, 10 Dec 2002 15:54:23 +0000 (15:54 +0000)
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp

index 4226307bba9364b1aa737e27a022745388da1f25..58d4eb92675aab4f7458d3242c9bb09421f11a2b 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-10  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
+
 2002-12-03  Nick Clifton  <nickc@redhat.com>
 
        * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging
index 4217636eb03ff61b4514dae8f8018109001c5f5f..9a0b7393ff31d2b10df701a17d9f392bb772cac6 100644 (file)
@@ -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
 }