This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Run objcopy --update-section test only on ELF targets


	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]