From: Tristan Gingold Date: Tue, 14 Mar 2017 13:54:37 +0000 (+0100) Subject: ld-checks: tweak overflow checks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9494d9636612cd9bd22e38625fbc89147beafea7;p=binutils-gdb.git ld-checks: tweak overflow checks. * testsuite/ld-checks/checks.exp (overflow_check): Disable for non-elf targets. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index df8bb32932e..1f1fafd9e3a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-03-15 Tristan Gingold + + * testsuite/ld-checks/checks.exp (overflow_check): Disable for + non-elf targets. + 2017-03-14 H.J. Lu * 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 782f50a4c0d..e411d03f269 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"