diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-12-10 15:54:23 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-12-10 15:54:23 +0000 |
commit | e06d9b458937264621d6ec81ccf9a6bab3337cac (patch) | |
tree | cd7a12d3881e95bd805253493f84db6b590899f1 /ld/testsuite/lib | |
parent | 1e5e54006d7db345069fa1eff2b2cfbd9a722981 (diff) | |
download | gdb-e06d9b458937264621d6ec81ccf9a6bab3337cac.zip gdb-e06d9b458937264621d6ec81ccf9a6bab3337cac.tar.gz gdb-e06d9b458937264621d6ec81ccf9a6bab3337cac.tar.bz2 |
* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 4217636..9a0b739 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 } |