diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-27 14:06:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-28 10:09:53 -0300 |
commit | b53e73ea809adac9be6b7808299f6741ea798e50 (patch) | |
tree | 4cc6c85ac87ffb470c8684f83939c6e5d5ab56e6 /io/Makefile | |
parent | 24c8db87c9537469dded474c8ee5da5c988f9c55 (diff) | |
download | glibc-b53e73ea809adac9be6b7808299f6741ea798e50.zip glibc-b53e73ea809adac9be6b7808299f6741ea798e50.tar.gz glibc-b53e73ea809adac9be6b7808299f6741ea798e50.tar.bz2 |
s390: Improve static-pie configure tests
Instead of tying based on the linker name and version, check for the
required support:
* whether it does not generate dynamic TLS relocations in PIE
(binutils PR ld/22263);
* if it accepts --no-dynamic-linker (by using -static-pie);
* and if it adds a DT_JMPREL pointing to .rela.iplt with static pie.
The patch also trims the comments, for binutils one of the tests should
already cover it. The kernel ones are not clear which version should
have the backport, nor it is something that glibc can do much about
it. Finally, the glibc is somewhat confusing, since it refers
to commits not related to s390x.
Checked with a build for s390x-linux-gnu.
Reviewed-by: Stefan Liebler <stli@linux.ibm.com>
Diffstat (limited to 'io/Makefile')
0 files changed, 0 insertions, 0 deletions