diff options
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-checks/checks.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index df8bb32..1f1fafd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/testsuite/ld-checks/checks.exp b/ld/testsuite/ld-checks/checks.exp index 782f50a..e411d03 100644 --- a/ld/testsuite/ld-checks/checks.exp +++ b/ld/testsuite/ld-checks/checks.exp @@ -85,6 +85,9 @@ proc overflow_check {} { && ![istarget arm*-*-*] } { return } + if ![is_elf_format] { + return + } run_dump_test "over" run_dump_test "over2" |