about summary refs log tree commit diff
path: root/stdio-common/wprintf_buffer_as_file.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-27 14:06:06 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-28 10:09:53 -0300
commitb53e73ea809adac9be6b7808299f6741ea798e50 (patch)
tree4cc6c85ac87ffb470c8684f83939c6e5d5ab56e6 /stdio-common/wprintf_buffer_as_file.c
parent24c8db87c9537469dded474c8ee5da5c988f9c55 (diff)
downloadglibc-b53e73ea809adac9be6b7808299f6741ea798e50.tar.gz
glibc-b53e73ea809adac9be6b7808299f6741ea798e50.tar.xz
glibc-b53e73ea809adac9be6b7808299f6741ea798e50.zip
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 'stdio-common/wprintf_buffer_as_file.c')
0 files changed, 0 insertions, 0 deletions