public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Run objcopy --update-section test only on ELF targets
@ 2015-03-11  7:33 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2015-03-11  7:33 UTC (permalink / raw)
  To: binutils


	* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-11  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11  7:33 Run objcopy --update-section test only on ELF targets Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).