[PATCH] D41541: [ELF] - Allow using PLT relocations when "-z notext" is given.
Ed Maste via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 22 07:52:11 PST 2017
emaste added a comment.
I can confirm this fixes the reduced test case, but the 'hello world' test on FreeBSD still fails, now with:
/home/emaste/src/llvm/build/bin/ld.lld: error: relocation R_X86_64_32 cannot be used against shared object; recompile with -fPIC
>>> defined in usr/lib/crtbegin.o
>>> referenced by /usr/home/emaste/src/freebsd/contrib/gcc/crtstuff.c
>>> usr/lib/crtbegin.o:(frame_dummy)
https://reviews.llvm.org/D41541
More information about the llvm-commits
mailing list