aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-08-22 11:00:44 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-08-22 11:00:44 +0200
commit80bca2ead66f0c1d6e84b9d0b0ace297fa97d1c7 (patch)
tree98af3fba44d7acd5792566ed040f0e30bcaba666
parent1bfc186f71c2944ee8d3f1092b2b31821f2dbe20 (diff)
downloadgdb-80bca2ead66f0c1d6e84b9d0b0ace297fa97d1c7.zip
gdb-80bca2ead66f0c1d6e84b9d0b0ace297fa97d1c7.tar.gz
gdb-80bca2ead66f0c1d6e84b9d0b0ace297fa97d1c7.tar.bz2
ld: testsuite: Enable ld-shared tests on Solaris/x86
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.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-shared/shared.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8da3788..1cb8e89 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp
index daafee0..6aa7ca9 100644
--- a/ld/testsuite/ld-shared/shared.exp
+++ b/ld/testsuite/ld-shared/shared.exp
@@ -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*] \