[llvm-bugs] [Bug 39886] New: [ARM] lld doesn't support '--pic-veneer'
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Dec 4 17:32:06 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39886
Bug ID: 39886
Summary: [ARM] lld doesn't support '--pic-veneer'
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: natechancellor at gmail.com
CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org
The main arm32 Makefile in the Linux kernel (arch/arm/Makefile) adds
'--pic-veneer' to LDFLAGS for vmlinux, which lld does not support and leads to
a linking error:
ld.lld: error: unknown argument: --pic-veneer
The GNU ld help text describes this flag as the following:
--pic-veneer
Always generate PIC interworking veneers
See the following commit for why this flag was added:
https://git.kernel.org/torvalds/c/02e541db0540a2830f4af749c6f2b650abbbb77c
I have no idea if the issue documented in this commit or the flag itself is
relevant to lld or not, any insight given would be appreciated.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181205/3b062a6c/attachment.html>
More information about the llvm-bugs
mailing list