aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-09-29 06:20:06 +0000
committerAlan Modra <amodra@gmail.com>2010-09-29 06:20:06 +0000
commitf794089cb82b66bf0c3a91fd00d36b608b0b36a1 (patch)
tree31d66d407642062451f1ae49715a820c7ca0eba5 /ld
parent30920cabe8b44ae250acfb6309f7240b1747d981 (diff)
downloadgdb-f794089cb82b66bf0c3a91fd00d36b608b0b36a1.zip
gdb-f794089cb82b66bf0c3a91fd00d36b608b0b36a1.tar.gz
gdb-f794089cb82b66bf0c3a91fd00d36b608b0b36a1.tar.bz2
* ld-h8300/h8300.exp: Use is_elf_format.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog2
-rw-r--r--ld/testsuite/ld-h8300/h8300.exp4
2 files changed, 4 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 11e36ad..5e9b9c1 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2010-09-29 Alan Modra <amodra@gmail.com>
+ * ld-h8300/h8300.exp: Use is_elf_format.
+
* lib/ld-lib.exp (is_elf_format): Merge with binutils and gas versions.
(is_aout_format): Update target list.
(is_pecoff_format): Remove unnecessary line continuation.
diff --git a/ld/testsuite/ld-h8300/h8300.exp b/ld/testsuite/ld-h8300/h8300.exp
index 6051d9b..3604dfa 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