]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld: testsuite: Enable ld-shared tests on Solaris/x86
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 22 Aug 2025 09:00:44 +0000 (11:00 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 22 Aug 2025 09:00:44 +0000 (11:00 +0200)
The ld-shared tests are run on Solaris/SPARC only for no apparent
reason.

This patch enables them on Solaris in general.  It leaves two XPASSes on
32-bit Solaris (both SPARC and x86), which I'll address in a followup.

Tested on {amd64,i386}-pc-solaris2.11 and sparc{v9,}-sun-solaris2.11.

2025-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

ld:
* testsuite/ld-shared/shared.exp: Enable on *-*-solaris2* rather
than sparc*-*-solaris2* only.

ld/ChangeLog
ld/testsuite/ld-shared/shared.exp

index 8da3788b5bbe0daf3c2ccf4a503038f066619a7b..1cb8e89079c1b92e3697ea61a903d279e44fd131 100644 (file)
@@ -1,3 +1,8 @@
+2025-08-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-shared/shared.exp: Enable on *-*-solaris2* rather
+       than sparc*-*-solaris2* only.
+
 2025-08-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * testsuite/ld-elfvers/vers.exp (vers26b3): Mark unsupported on
index daafee07410390ee638c181181aa616d71e97524..6aa7ca937e2314fa73ca078fdfff1f7c3a42d533 100644 (file)
@@ -37,7 +37,8 @@ if { ![check_shared_lib_support] } {
 
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
-if { ![istarget hppa*64*-*-hpux*] \
+if {    ![istarget *-*-solaris2*] \
+     && ![istarget hppa*64*-*-hpux*] \
      && ![istarget hppa*-*-linux*] \
      && ![istarget i?86-*-elf*] \
      && ![istarget i?86-*-linux*] \
@@ -51,7 +52,6 @@ if { ![istarget hppa*64*-*-hpux*] \
      && ![istarget powerpc*-*-linux*] \
      && ![istarget powerpc*-*-sysv4*] \
      && ![istarget sparc*-*-elf] \
-     && ![istarget sparc*-*-solaris2*] \
      && ![istarget sparc*-*-linux*] \
      && ![istarget arm*-*-linux*] \
      && ![istarget alpha*-*-linux*] \