This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Run objcopy --update-section test only on ELF targets
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 11 Mar 2015 18:03:18 +1030
- Subject: Run objcopy --update-section test only on ELF targets
- Authentication-results: sourceware.org; auth=none
* binutils-all/update-section.exp: Only run on ELF targets.
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} {
--
Alan Modra
Australia Development Lab, IBM