[PATCH] D38554: Fixed ppc32 function relocations in non-pic mode
Mark Millard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 18:27:55 PST 2019
markmi added a comment.
Matching up with jhibbits comment: when I (cross) buildworld buildkernel for FreeBSD head to build to -r355547 from scratch, targeting 32-bit powerpc, using the gnu linker with the system-clang, the log shows 2016 notices of the structure:
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to FILENAME
This is from:
/usr/local/powerpc64-unknown-freebsd13.0/bin/ld -v
GNU ld (GNU Binutils) 2.33.1
The build environment has secure-plt enabled by default for targeting 32-bit powerpc, attempting to leave behind bss-plt. But gnu ld is overriding the request for secure-plt.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D38554/new/
https://reviews.llvm.org/D38554
More information about the llvm-commits
mailing list