* ld-h8300/h8300.exp: Use is_elf_format.

This commit is contained in:
Alan Modra 2010-09-29 06:20:06 +00:00
parent 30920cabe8
commit f794089cb8
2 changed files with 4 additions and 2 deletions

View 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.

View 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