aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-nbsd-tdep.c
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2025-03-28 15:27:11 +0100
committerJens Remus <jremus@linux.ibm.com>2025-03-28 15:27:11 +0100
commit41f0b410f5dc59ae89b7ec87bc3601d38b2030c8 (patch)
tree1327ce4f0bb9c35ec9183d639923a6e6503d6a9c /gdb/amd64-nbsd-tdep.c
parent63621cffc5ca44ef9d830f6e562dda5ccbffbeca (diff)
downloadbinutils-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