ld: xfail several shared (non PIC) tests on Solaris
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 10 Apr 2020 09:18:10 +0000 (11:18 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 10 Apr 2020 09:18:10 +0000 (11:18 +0200)
commita5d214978ffff7d4b3df9b89706c1df4f0ecd64e
tree3eb35d5cd7dd86eb68e606702e8ee35c9ac35204
parent71ea2b6be8228759230cef7d5a7ab0b45b77c26c
ld: xfail several shared (non PIC) tests on Solaris

Three ld tests currently FAIL on Solaris/SPARC:

FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)

all of them in the same way:

/var/gcc/binutils/sparcv7/obj/binutils/ld/tmpdir/ld/collect-ld: read-only
segment has dynamic relocations

Given that Solaris defaults to -z text, this is to be expected, thus
this patch xfail's them.

Tested on sparc-sun-solaris2.11 and sparcv9-sun-solaris2.11.

* testsuite/ld-shared/shared.exp: Remove dangling comments.
xfail shared non PIC tests on Solaris.
ld/ChangeLog
ld/testsuite/ld-shared/shared.exp