summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-09-29 06:20:06 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-09-29 06:20:06 +0000
commite5c7318d6b2574b56f4490f74bfc34d683c187c7 (patch)
tree5cf62f429ef954a5bb6f76793938aa27ce088a99 /ld/testsuite/ld-h8300
parenta0f12dc252a481f7f885f1c2f3f5bbecef079b7c (diff)
downloadbinutils-redhat-e5c7318d6b2574b56f4490f74bfc34d683c187c7.tar.gz
* ld-h8300/h8300.exp: Use is_elf_format.
Diffstat (limited to 'ld/testsuite/ld-h8300')
-rw-r--r--ld/testsuite/ld-h8300/h8300.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-h8300/h8300.exp b/ld/testsuite/ld-h8300/h8300.exp
index 6051d9b443..3604dfad8e 100644
--- a/ld/testsuite/ld-h8300/h8300.exp
+++ b/ld/testsuite/ld-h8300/h8300.exp
@@ -1,5 +1,5 @@
# Expect script for ld-h8300 tests
-# Copyright 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+# Copyright 2002, 2003, 2004, 2005, 2007, 2010 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -29,7 +29,7 @@ if ![istarget h8300-*-*] {
run_dump_test relax
-if {[istarget *-elf]} {
+if [is_elf_format] {
run_dump_test relax-2
run_dump_test relax-3
run_dump_test relax-4