xfail undefweak-1 test for alpha

Message ID Zieew9u/Pi52nyUS@squeak.grove.modra.org
State New
Series xfail undefweak-1 test for alpha |


Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_check--master-arm warning Patch is already merged

Commit Message

Alan Modra April 23, 2024, 11:42 a.m. UTC
  ".set" has a different meaning on alpha.  Changing it to ".equ" runs
into ".equ" having a different meaning on hppa, and changing it to "="
runs into trouble on bfin.

	* testsuite/ld-elf/elf.exp (undefweak-1): xfail on alpha,
	don't xfail for genelf.


diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 874ba662d2b..831dfae153e 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -184,7 +184,7 @@  run_ld_link_tests [list \
 	{undefweak-1b.s} \
 	{{readelf {-rsW} undefweak-1.rd}} \
 	"undefweak-1.o" ] \
-] \[uses_genelf\]
+] "alpha-*-*"
 #v850 gas complains about .tbss.var section attributes.
 if { [check_gc_sections_available] && ![istarget "v850-*-*"] } {