Blame SOURCES/binutils-2.28-testsuite-failure-fixes.patch

0b07f1
--- binutils.orig/ld/testsuite/ld-elf/elf.exp	2017-05-23 11:03:36.552764573 +0100
0b07f1
+++ binutils-2.28/ld/testsuite/ld-elf/elf.exp	2017-05-23 11:13:48.419611868 +0100
0b07f1
@@ -142,6 +142,10 @@ if { [check_shared_lib_support] } then {
0b07f1
 	    {pr20995b.s} {} "pr20995.so"}
0b07f1
     }
0b07f1
     setup_xfail "tic6x-*-*"
0b07f1
+    # xfail on arm*-*-eabi*.  The list can be enlarged to those targets that
0b07f1
+    # don't support GNU_RELRO.  For more details, please see discussions at:
0b07f1
+    #   https://sourceware.org/ml/binutils/2017-01/msg00441.html
0b07f1
+    setup_xfail "arm*-*-eabi*" "hppa*64*-*-hpux*"
0b07f1
     run_ld_link_tests {
0b07f1
 	{"Build pr20995-2.so"
0b07f1
 	    "-shared -z relro" "" ""
0b07f1
@@ -149,12 +153,17 @@ if { [check_shared_lib_support] } then {
0b07f1
     }
0b07f1
     # These targets don't copy dynamic variables into .bss.
0b07f1
     setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*"
0b07f1
+    # or don't have .data.rel.ro
0b07f1
+    setup_xfail "hppa*64*-*-hpux*"
0b07f1
     run_ld_link_tests [list \
0b07f1
 	[list \
0b07f1
 	    "pr20995" \
0b07f1
 	    "" "tmpdir/pr20995.so" "$AFLAGS_NONPIC" \
0b07f1
 	    {pr20995a.s} {{readelf {-S --wide} pr20995.r}} "pr20995"]]
0b07f1
-    setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*"
0b07f1
+    # xfail on arm*-*-eabi* is particularly because of no support of GNU_RELRO.
0b07f1
+    # Please see the link above for details.
0b07f1
+    setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" "arm*-*-eabi*"
0b07f1
+    setup_xfail "hppa*64*-*-hpux*"
0b07f1
     run_ld_link_tests [list \
0b07f1
 	[list \
0b07f1
 	    "pr20995-2" \