[PATCH] ld/testsuite: XFAIL pr20995-2 on aarch64*-*-elf*

Roland McGrath via binutils binutils@sourceware.org
Fri Mar 9 20:57:00 GMT 2018

[This change is on branches users/roland/pr20995-2-xfail-aarch64-elf and

check-ld on --target=aarch64-elf gets two FAILs that should be XFAILs.

OK for trunk and 2.30 branch?  (In 2.30 it's elf.exp but otherwise the same.)


2018-03-09  Roland McGrath  <mcgrathr@google.com>

	* testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
	another target without RELRO.

diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 435b8e14a86..b0bcc0e58ba 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -418,7 +418,7 @@ run_ld_link_tests [list \
     [list "Build pr20995-2.so" \
 	"-shared -z relro" "" "$AFLAGS_PIC" \
 	{pr20995c.s} {{readelf {-l --wide} pr20995-2so.r}} "pr20995-2.so"] \
-] "tic6x-*-*" "arm*-*-eabi*" "hppa*64*-*-hpux*"
+] "tic6x-*-*" "arm*-*-eabi*" "hppa*64*-*-hpux*" "aarch64*-*-elf*"

 # These targets don't copy dynamic variables into .bss.
 setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*"
@@ -433,7 +433,7 @@ run_ld_link_tests [list \
 # 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*"
-setup_xfail "hppa*64*-*-hpux*"
+setup_xfail "hppa*64*-*-hpux*" "aarch64*-*-elf*"
 run_ld_link_tests [list \
     [list \
 	"pr20995-2" \

More information about the Binutils mailing list