]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld: testsuite: Enable ld-elfweak tests on Solaris/x86
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 29 Jul 2025 07:45:45 +0000 (09:45 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 29 Jul 2025 07:45:45 +0000 (09:45 +0200)
The ld-elfweak tests are currently only enabled on Solaris/SPARC for no
apparent reason.  Enabling them on Solaris in general lets them all PASS
on both amd64-pc-solaris2.11 and i386-pc-solaris2.11.

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

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

ld/ChangeLog
ld/testsuite/ld-elfweak/elfweak.exp

index 37c745acd5d15a22c2243268bad5f005d400ab95..7b03989a59d6ffd866388d5938fb7b3c650c49d6 100644 (file)
@@ -1,3 +1,8 @@
+2025-07-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-elfweak/elfweak.exp: Enable on *-*-solaris2* rather
+       than sparc*-*-solaris2* only.
+
 2025-07-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * testsuite/ld-plugin/lto.exp (PR ld/28138 test): Raise fd limit
index aa6c29af574127f3a9901a6b42ea31b9a3c522a8..4e5ac42606efba0718785cccec0f3c720231a0ac 100644 (file)
@@ -35,7 +35,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.
 # This is similar to the test that is used in ld-shared, BTW.
-if {    ![istarget alpha*-*-linux*]
+if {    ![istarget *-*-solaris2*]
+     && ![istarget alpha*-*-linux*]
      && ![istarget arm*-*-linux*]
      && ![istarget hppa*64*-*-hpux*]
      && ![istarget hppa*-*-linux*]
@@ -52,7 +53,6 @@ if {    ![istarget alpha*-*-linux*]
      && ![istarget powerpc*-*-sysv4*]
      && ![istarget sh\[34\]*-*-linux*]
      && ![istarget sparc*-*-elf]
-     && ![istarget sparc*-*-solaris2*]
      && ![istarget sparc*-*-linux*]
      && ![istarget x86_64-*-linux*] } {
     return