From 50a0d119891f6128b10e8e95074349cc3cfe2070 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 11 Mar 2015 17:49:42 +1030 Subject: [PATCH] Run objcopy --update-section test only on ELF targets * binutils-all/update-section.exp: Only run on ELF targets. --- binutils/testsuite/ChangeLog | 4 ++++ binutils/testsuite/binutils-all/update-section.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 471cc15477..0f33df94ab 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 6a74302239..eceb5f1e31 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} { -- 2.34.1