diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-07-29 09:45:45 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-07-29 09:45:45 +0200 |
commit | e2a18d03badd9dcbb0b0f352c326f1e7998cd02c (patch) | |
tree | c9548b0b79978d3f9cd1006291aee6a6e7887c27 | |
parent | 5f3de678e6b6f91524436bbf113cfd2137e639ef (diff) | |
download | binutils-e2a18d03badd9dcbb0b0f352c326f1e7998cd02c.zip binutils-e2a18d03badd9dcbb0b0f352c326f1e7998cd02c.tar.gz binutils-e2a18d03badd9dcbb0b0f352c326f1e7998cd02c.tar.bz2 |
ld: testsuite: Enable ld-elfweak tests on Solaris/x86
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.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elfweak/elfweak.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 37c745a..7b03989 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/testsuite/ld-elfweak/elfweak.exp b/ld/testsuite/ld-elfweak/elfweak.exp index aa6c29a..4e5ac42 100644 --- a/ld/testsuite/ld-elfweak/elfweak.exp +++ b/ld/testsuite/ld-elfweak/elfweak.exp @@ -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 |