This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Expect the objcopy without global symbols test to fail for ARM and AArch64 targets.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41699fa4a201db0d4ad1ac4a74e3f0ba50894ddf

commit 41699fa4a201db0d4ad1ac4a74e3f0ba50894ddf
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Jul 1 10:32:45 2016 +0100

    Expect the objcopy without global symbols test to fail for ARM and AArch64 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                          | 7 +++++++
 binutils/testsuite/binutils-all/objcopy.exp | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index aac034f..83fde81 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+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>
 
 	* NEWS: Add marker for 2.27.
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]