From: Rainer Orth Date: Thu, 22 Jan 2026 20:02:32 +0000 (+0100) Subject: ld: testsuite: Enable ld-sparc tests on Solaris X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=483c5cc7764832b2944f99e5548103a7c1f89ea7;p=thirdparty%2Fbinutils-gdb.git ld: testsuite: Enable ld-sparc tests on Solaris The ld-sparc tests aren't currently run on Solaris to avoid PR binutils/27666. This has been fixed, so they can be enabled there, too. Tested no sparc{v9,}-sun-solaris2.11 and sparc{64,}-unknown-linux-gnu. 2026-01-17 Rainer Orth ld: * testsuite/ld-sparc/sparc.exp: Run sparctests, sparc64tests on Solaris. --- diff --git a/ld/testsuite/ld-sparc/sparc.exp b/ld/testsuite/ld-sparc/sparc.exp index 8053e8bf4f3..4f6f0cf8959 100644 --- a/ld/testsuite/ld-sparc/sparc.exp +++ b/ld/testsuite/ld-sparc/sparc.exp @@ -150,19 +150,12 @@ set sparc64tests { "libgotop64.so"} } -# The solaris2 targets do not support the generic SPARC ELF targets, -# ie -melf32_sparc and -melf64_sparc, so we skip the next set of -# tests for them. Support could be added, but this then breaks the -# creation of archives for those targets. See PR 27666 for more -# details. -if { ![istarget "*-*-solaris2*"] } { - if { ![istarget "sparc64-*-elf*"] } { - run_ld_link_tests $sparctests - } +if { ![istarget "sparc64-*-elf*"] } { + run_ld_link_tests $sparctests +} - if { ![istarget "sparc-*-elf*"] } { - run_ld_link_tests $sparc64tests - } +if { ![istarget "sparc-*-elf*"] } { + run_ld_link_tests $sparc64tests } if { [istarget "sparc*-*-linux*"] && [isnative] } {