+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
 
         && ![istarget *-*-linux*] \
         && ![istarget *-*-irix5*] \
         && ![istarget *-*-irix6*] \
+        && ![istarget *-*-netbsd*] \
         && ![istarget *-*-solaris2*] } {
        return 0
     }
         || [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
 }