GNU Binutils with patches for OS216
Revision | 9494d9636612cd9bd22e38625fbc89147beafea7 (tree) |
---|---|
Time | 2017-03-15 18:23:19 |
Author | Tristan Gingold <gingold@adac...> |
Commiter | Tristan Gingold |
ld-checks: tweak overflow checks.
* testsuite/ld-checks/checks.exp (overflow_check): Disable for
non-elf targets.
@@ -1,3 +1,8 @@ | ||
1 | +2017-03-15 Tristan Gingold <gingold@adacore.com> | |
2 | + | |
3 | + * testsuite/ld-checks/checks.exp (overflow_check): Disable for | |
4 | + non-elf targets. | |
5 | + | |
1 | 6 | 2017-03-14 H.J. Lu <hongjiu.lu@intel.com> |
2 | 7 | |
3 | 8 | * ldlang.c (lang_check_section_addresses): Use addr_mask to |
@@ -85,6 +85,9 @@ proc overflow_check {} { | ||
85 | 85 | && ![istarget arm*-*-*] } { |
86 | 86 | return |
87 | 87 | } |
88 | + if ![is_elf_format] { | |
89 | + return | |
90 | + } | |
88 | 91 | |
89 | 92 | run_dump_test "over" |
90 | 93 | run_dump_test "over2" |