diff options
author | Tristan Gingold <gingold@adacore.com> | 2017-03-14 14:54:37 +0100 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2017-03-15 10:23:19 +0100 |
commit | 9494d9636612cd9bd22e38625fbc89147beafea7 (patch) | |
tree | 17c6168eb65275ec67c008c25187bb9ff4a0214d | |
parent | 7cb7b948ce62831a999f88054a6b2d39afbe926e (diff) | |
download | fsf-binutils-gdb-9494d9636612cd9bd22e38625fbc89147beafea7.zip fsf-binutils-gdb-9494d9636612cd9bd22e38625fbc89147beafea7.tar.gz fsf-binutils-gdb-9494d9636612cd9bd22e38625fbc89147beafea7.tar.bz2 |
ld-checks: tweak overflow checks.
* testsuite/ld-checks/checks.exp (overflow_check): Disable for
non-elf targets.
-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" |