aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfcomm
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2003-05-29 00:16:46 +0000
committerJason Thorpe <thorpej@netbsd.org>2003-05-29 00:16:46 +0000
commit43f9d75bc1bbff5dec60756e9f12de5ae4a3d7dc (patch)
tree5832f44d2862f83a7eec5b2eb26155e1bc9ace5b /ld/testsuite/ld-elfcomm
parent7bd7a2abff06c260fe9ce300754853f8b3f0fdd2 (diff)
downloadgdb-43f9d75bc1bbff5dec60756e9f12de5ae4a3d7dc.zip
gdb-43f9d75bc1bbff5dec60756e9f12de5ae4a3d7dc.tar.gz
gdb-43f9d75bc1bbff5dec60756e9f12de5ae4a3d7dc.tar.bz2
* 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.exp11
1 files changed, 1 insertions, 10 deletions
diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp
index c9836c1..88cfd89 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
}