ld-checks: tweak overflow checks.

* testsuite/ld-checks/checks.exp (overflow_check): Disable for
	non-elf targets.
This commit is contained in:
Tristan Gingold 2017-03-14 14:54:37 +01:00
parent 7cb7b948ce
commit 9494d96366
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2017-03-15 Tristan Gingold <gingold@adacore.com>
* testsuite/ld-checks/checks.exp (overflow_check): Disable for
non-elf targets.
2017-03-14 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_check_section_addresses): Use addr_mask to

View File

@ -85,6 +85,9 @@ proc overflow_check {} {
&& ![istarget arm*-*-*] } {
return
}
if ![is_elf_format] {
return
}
run_dump_test "over"
run_dump_test "over2"