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: unassignedb...@nondot.org
          Reporter: natechancel...@gmail.com
                CC: llvm-bugs@lists.llvm.org, peter.sm...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to