This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_27-branch] Expect the 'objcopy without global symbols' test to fail for AArch64 and ARM targets.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 1 Jul 2016 09:36:40 -0000
- Subject: [binutils-gdb/binutils-2_27-branch] Expect the 'objcopy without global symbols' test to fail for AArch64 and ARM targets.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5bf729d5ca54fa1264ce30e02602c9a35757558c
commit 5bf729d5ca54fa1264ce30e02602c9a35757558c
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Jul 1 10:35:53 2016 +0100
Expect the 'objcopy without global symbols' test to fail for AArch64 and ARM targets.
* testsuite/binutils-all/objcopy.exp
(objcopy_test_without_global_symbol): Expect this test to fail on
the AArch64 and ARM targets, since they preserve their mapping
symbols.
Diff:
---
binutils/ChangeLog | 10 ++++++++++
binutils/testsuite/binutils-all/objcopy.exp | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index fbdc28f..d81e970 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,13 @@
+2016-07-01 Nick Clifton <nickc@redhat.com>
+
+ * Import this patch from the mainline:
+ 2016-07-01 Nick Clifton <nickc@redhat.com>
+
+ * testsuite/binutils-all/objcopy.exp
+ (objcopy_test_without_global_symbol): Expect this test to fail on
+ the AArch64 and ARM targets, since they preserve their mapping
+ symbols.
+
2016-07-01 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index c33b601..ccd4422 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -1159,4 +1159,8 @@ proc objcopy_test_without_global_symbol { } {
pass $test
}
+# The AArch64 and ARM targets preserve mapping symbols
+# in object files, so they will fail this test.
+setup_xfail aarch64*-*-* arm*-*-*
+
objcopy_test_without_global_symbol