From: Alan Modra Date: Wed, 11 Mar 2015 07:19:42 +0000 (+1030) Subject: Run objcopy --update-section test only on ELF targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50a0d119891f6128b10e8e95074349cc3cfe2070;p=binutils-gdb.git Run objcopy --update-section test only on ELF targets * binutils-all/update-section.exp: Only run on ELF targets. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 471cc154772..0f33df94ab5 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-03-11 Alan Modra + + * binutils-all/update-section.exp: Only run on ELF targets. + 2015-03-03 Jiong Wang * binutils-all/arm/rvct_symbol.s: New testcase. diff --git a/binutils/testsuite/binutils-all/update-section.exp b/binutils/testsuite/binutils-all/update-section.exp index 6a743022396..eceb5f1e315 100644 --- a/binutils/testsuite/binutils-all/update-section.exp +++ b/binutils/testsuite/binutils-all/update-section.exp @@ -18,6 +18,11 @@ if { [is_remote host] } then { return } +# These tests use ELF .section directives +if ![is_elf_format] { + return +} + send_user "Version [binutil_version $OBJCOPY]" proc do_assemble {srcfile} {