diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2003-05-29 00:16:46 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2003-05-29 00:16:46 +0000 |
commit | 98e3818a23474bc9bcf0cb9988d8233bc5d73bb0 (patch) | |
tree | 37cfed186d0a8e4f6c1ed9d0e9253bf2cee88769 /ld/testsuite/ld-elfcomm | |
parent | 141cd940b79f9ebedd7b87f25ec6abf1996cccfc (diff) | |
download | binutils-redhat-98e3818a23474bc9bcf0cb9988d8233bc5d73bb0.tar.gz |
* ld-elf/elf.exp: Use if_elf_format.
* ld-elf/sec64k.exp: Likewise.
* ld-elfcomm/elfcomm.exp: Likewise.
* lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
Diffstat (limited to 'ld/testsuite/ld-elfcomm')
-rw-r--r-- | ld/testsuite/ld-elfcomm/elfcomm.exp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp index c9836c116f..88cfd898e4 100644 --- a/ld/testsuite/ld-elfcomm/elfcomm.exp +++ b/ld/testsuite/ld-elfcomm/elfcomm.exp @@ -21,16 +21,7 @@ # Make sure that ld correctly handles common symbols in ELF. # This test can only be run on ELF platforms. -# Square bracket expressions seem to confuse istarget. -if { ![istarget hppa*64*-*-hpux*] \ - && ![istarget *-*-gnu] \ - && ![istarget *-*-linux*] \ - && ![istarget *-*-elf] } { - return -} - -if { [istarget *-*-linux*aout*] \ - || [istarget *-*-linux*oldld*] } { +if ![is_elf_format] { return } |