This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] ld-checks: tweak overflow checks.
- From: Tristan Gingold <gingold at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 15 Mar 2017 09:23:37 -0000
- Subject: [binutils-gdb] ld-checks: tweak overflow checks.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9494d9636612cd9bd22e38625fbc89147beafea7
commit 9494d9636612cd9bd22e38625fbc89147beafea7
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Mar 14 14:54:37 2017 +0100
ld-checks: tweak overflow checks.
* testsuite/ld-checks/checks.exp (overflow_check): Disable for
non-elf targets.
Diff:
---
ld/ChangeLog | 5 +++++
ld/testsuite/ld-checks/checks.exp | 3 +++
2 files changed, 8 insertions(+)
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"