diff options
author | Jens Remus <jremus@linux.ibm.com> | 2025-03-28 15:27:11 +0100 |
---|---|---|
committer | Jens Remus <jremus@linux.ibm.com> | 2025-03-28 15:27:11 +0100 |
commit | 41f0b410f5dc59ae89b7ec87bc3601d38b2030c8 (patch) | |
tree | 1327ce4f0bb9c35ec9183d639923a6e6503d6a9c /gdb/amd64-nbsd-tdep.c | |
parent | 63621cffc5ca44ef9d830f6e562dda5ccbffbeca (diff) | |
download | binutils-41f0b410f5dc59ae89b7ec87bc3601d38b2030c8.zip binutils-41f0b410f5dc59ae89b7ec87bc3601d38b2030c8.tar.gz binutils-41f0b410f5dc59ae89b7ec87bc3601d38b2030c8.tar.bz2 |
x86: Pass $NOPIE_LDFLAGS to undefined weak tests
Some distributions configure GCC with --enable-default-pie, so that it
defaults to compile with -fPIE and link with -pie, which is unexpected
by some of the tests. Therefore link the PDE test programs with
$NOPIE_LDFLAGS to disable PIE.
This complements commit a7eaf017f959 ("Use NOPIE_CFLAGS and
NOPIE_LDFLAGS to disable PIE").
ld/testsuite/
PR ld/21090
* ld-x86-64/x86-64.exp (undefined_weak): Use NOPIE_LDFLAGS to
disable PIE for the non-PIE versions of the test.
Bug: https://sourceware.org/PR21090
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gdb/amd64-nbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions