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

* binutils-all/update-section.exp: Only run on ELF targets.
This commit is contained in:
Alan Modra 2015-03-11 17:49:42 +10:30
parent 796ecec4cf
commit 50a0d11989
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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} {