aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-03-11 17:49:42 +1030
committerAlan Modra <amodra@gmail.com>2015-03-11 17:59:29 +1030
commit50a0d119891f6128b10e8e95074349cc3cfe2070 (patch)
tree61ee702df7c80662ed12430c5af949878fd02756 /binutils
parent796ecec4cf37e5c97191a0cc8a0c5d308467401d (diff)
downloadgdb-50a0d119891f6128b10e8e95074349cc3cfe2070.zip
gdb-50a0d119891f6128b10e8e95074349cc3cfe2070.tar.gz
gdb-50a0d119891f6128b10e8e95074349cc3cfe2070.tar.bz2
Run objcopy --update-section test only on ELF targets
* binutils-all/update-section.exp: Only run on ELF targets.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/update-section.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 471cc15..0f33df9 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-11 Alan Modra <amodra@gmail.com>
+
+ * binutils-all/update-section.exp: Only run on ELF targets.
+
2015-03-03 Jiong Wang <jiong.wang@arm.com>
* 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 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} {