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] [ld, testsuite] XFAIL "pr20995-2", "Build pr20995-2.so" on arm*-*-eabi*


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

commit 4471a46f6f4b552b97bb546a85bf04c48faf64b4
Author: Jiong Wang <jiong.wang@arm.com>
Date:   Fri Jan 27 23:06:28 2017 +0000

    [ld, testsuite] XFAIL "pr20995-2", "Build pr20995-2.so" on arm*-*-eabi*
    
    ld/
    	* testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
    	arm*-*-eabi*.
    
    Some technical discussions about the reason of this XFAIL are available at
    
      https://sourceware.org/ml/binutils/2017-01/msg00441.html

Diff:
---
 ld/ChangeLog                | 5 +++++
 ld/testsuite/ld-elf/elf.exp | 8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5501e2f..9294c4a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-27  Jiong Wang  <jiong.wang@arm.com>
+
+	* testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
+	arm*-*-eabi*.
+
 2017-01-27  Dilyan Palauzov  <dilyan.palauzov@aegee.org>
 	    Nick Clifton  <nickc@redhat.com>
 
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 4d4a631..f13bb32 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -142,6 +142,10 @@ if { [check_shared_lib_support] } then {
 	    {pr20995b.s} {} "pr20995.so"}
     }
     setup_xfail "tic6x-*-*"
+    # xfail on arm*-*-eabi*.  The list can be enlarged to those targets that
+    # don't support GNU_RELRO.  For more details, please see discussions at:
+    #   https://sourceware.org/ml/binutils/2017-01/msg00441.html
+    setup_xfail "arm*-*-eabi*"
     run_ld_link_tests {
 	{"Build pr20995-2.so"
 	    "-shared -z relro" "" ""
@@ -154,7 +158,9 @@ if { [check_shared_lib_support] } then {
 	    "pr20995" \
 	    "" "tmpdir/pr20995.so" "$AFLAGS_NONPIC" \
 	    {pr20995a.s} {{readelf {-S --wide} pr20995.r}} "pr20995"]]
-    setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*"
+    # xfail on arm*-*-eabi* is particularly because of no support of GNU_RELRO.
+    # Please see the link above for details.
+    setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" "arm*-*-eabi*"
     run_ld_link_tests [list \
 	[list \
 	    "pr20995-2" \


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