[llvm-bugs] [Bug 51422] New: support --fix-v4bx

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 9 13:29:34 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51422

            Bug ID: 51422
           Summary: support --fix-v4bx
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: arnd at linaro.org, llvm-bugs at lists.llvm.org,
                    natechancellor at gmail.com, smithp352 at googlemail.com
            Blocks: 4068

In order to link armv4 Linux kernel images with LLD, it's required that LLD
support --fix-v4bx, otherwise we get the warning:

>> ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected

IIUC, there's even a relocation type for this: R_ARM_V4BX.

https://github.com/ClangBuiltLinux/linux/issues/964


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
-- 
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/20210809/daaed982/attachment.html>


More information about the llvm-bugs mailing list