From 50a0d119891f6128b10e8e95074349cc3cfe2070 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 11 Mar 2015 17:49:42 +1030 Subject: Run objcopy --update-section test only on ELF targets * binutils-all/update-section.exp: Only run on ELF targets. --- binutils/testsuite/binutils-all/update-section.exp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binutils/testsuite/binutils-all/update-section.exp') diff --git a/binutils/testsuite/binutils-all/update-section.exp b/binutils/testsuite/binutils-all/update-section.exp index 6a74302..eceb5f1 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} { -- cgit v1.1