Displaying 2 results from an estimated 2 matches for "2016ec47".
2019 Jan 28
4
lld write wrong symbol value in .data section if enable -pie
Hi Rui,
I still fail to enable the lld in my Uefi firmware build to replace ld, and I found it is related to the wrong symbol values in the .data section, which are pointed by R_X86_64_64 relocation entries. I need your advices.
My firmware uses a linker script https://github.com/tianocore/edk2/blob/master/BaseTools/Scripts/GccBase.lds to do the linking. We use position independent code with
2019 Jan 29
3
lld write wrong symbol value in .data section if enable -pie
...e not 0, which is correct.
Appreciate if you could give me some advices on how to let lld output correct symbol values when enable pie.
Thanks
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190129/2016ec47/attachment-0001.html>