* ld-h8300/h8300.exp: Use is_elf_format.
authorAlan Modra <amodra@gmail.com>
Wed, 29 Sep 2010 06:20:06 +0000 (06:20 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Sep 2010 06:20:06 +0000 (06:20 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-h8300/h8300.exp

index 11e36ad..5e9b9c1 100644 (file)
@@ -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.
index 6051d9b..3604dfa 100644 (file)
@@ -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