aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sec64k.exp
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-elf/sec64k.exp
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-elf/sec64k.exp')
-rw-r--r--ld/testsuite/ld-elf/sec64k.exp10
1 files changed, 1 insertions, 9 deletions
diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp
index bfc6d0f..fe3e15e 100644
--- a/ld/testsuite/ld-elf/sec64k.exp
+++ b/ld/testsuite/ld-elf/sec64k.exp
@@ -20,15 +20,7 @@
# Exclude non-ELF targets.
-if { ![istarget *-*-linux*] \
- && ![istarget *-*-gnu] \
- && ![istarget hppa*64*-*-hpux*] \
- && ![istarget *-*-elf] } {
- return
-}
-
-if { [istarget *-*-linux*aout*] \
- || [istarget *-*-linux*oldld*] } {
+if ![is_elf_format] {
return
}