diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2025-07-24 10:53:35 -0400 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2025-07-24 10:53:35 -0400 |
commit | d21c8ba4795044ae863e832d0683ba10fec01c7c (patch) | |
tree | 9c8c2176edab055f3f80bf91c29d83dd60f29cb9 /sysdeps/unix/fxstat.c | |
parent | 3ff17af18c38727b88d9115e536c069e6b5d601f (diff) | |
download | glibc-d21c8ba4795044ae863e832d0683ba10fec01c7c.zip glibc-d21c8ba4795044ae863e832d0683ba10fec01c7c.tar.gz glibc-d21c8ba4795044ae863e832d0683ba10fec01c7c.tar.bz2 |
debug: Link tst-sprintf-fortify-rdonly-static with -Wl,-z,relro [BZ 33183]
This test requires relro_format be placed in the PT_GNU_RELRO segment.
The ELF linker enables -z relro support by default on all Linux targets
except FRV, HPPA, IA64 and MIPS. On these targets, we need to explicitly
link with -z relro to place relro_format in the PT_GNU_RELRO segment.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'sysdeps/unix/fxstat.c')
0 files changed, 0 insertions, 0 deletions