From f794089cb82b66bf0c3a91fd00d36b608b0b36a1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 29 Sep 2010 06:20:06 +0000 Subject: [PATCH] * ld-h8300/h8300.exp: Use is_elf_format. --- ld/testsuite/ChangeLog | 2 ++ ld/testsuite/ld-h8300/h8300.exp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 11e36ad364d..5e9b9c1eea3 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2010-09-29 Alan Modra + * 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 6051d9b4431..3604dfad8e9 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 -- 2.30.2