From dbe23755ac67ab61106d03527c6813ebec0e4c5e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Sat, 18 Apr 2020 22:17:24 +0200 Subject: [PATCH] ld: Don't xfail ld-elf/warn[12] on 64-bit Solaris/SPARC Two ld tests currently XPASS on 64-bit Solaris/SPARC: XPASS: ld-elf/warn1 XPASS: ld-elf/warn2 They were xfail'ed on Solaris/SPARCv9 back in 2005 https://sourceware.org/pipermail/binutils/2005-February/039268.html but obviously this no longer appplies. Fixed by removing the xfail's. Tested on sparcv9-sun-solaris2.11 and sparc-sun-solaris2.11. * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC. * testsuite/ld-elf/warn2.d: Likewise. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-elf/warn1.d | 1 - ld/testsuite/ld-elf/warn2.d | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index a87cb77cdc0..0f4abca9a34 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-04-18 Rainer Orth + + * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC. + * testsuite/ld-elf/warn2.d: Likewise. + 2020-04-18 H.J. Lu * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for diff --git a/ld/testsuite/ld-elf/warn1.d b/ld/testsuite/ld-elf/warn1.d index a5b88761c02..83076642b38 100644 --- a/ld/testsuite/ld-elf/warn1.d +++ b/ld/testsuite/ld-elf/warn1.d @@ -5,7 +5,6 @@ #warning: ^[^\n]*\): warning: witty one-liner$ #readelf: -s #xfail: [is_generic] -#xfail: "sparc64-*-solaris2*" "sparcv9-*-solaris2*" # Check that warnings are generated for the .gnu.warning.SYMBOL # construct and that the symbol still appears as expected. diff --git a/ld/testsuite/ld-elf/warn2.d b/ld/testsuite/ld-elf/warn2.d index 005056ba1e0..43743cd03b8 100644 --- a/ld/testsuite/ld-elf/warn2.d +++ b/ld/testsuite/ld-elf/warn2.d @@ -6,7 +6,6 @@ #readelf: -s # if not using elf.em, you don't get fancy section handling #xfail: [uses_genelf] -#xfail: "sparc64-*-solaris2*" "sparcv9-*-solaris2*" # Check that warnings are generated for the symbols in .gnu.warning # construct and that the symbol still appears as expected. -- 2.30.2