aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all')
-rw-r--r--binutils/testsuite/binutils-all/update-section.exp5
1 files changed, 5 insertions, 0 deletions
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} {