[LLVMbugs] [Bug 22142] New: ARM RELOCATION 0x42 is not supported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 8 13:54:31 PST 2015


            Bug ID: 22142
           Summary: ARM RELOCATION 0x42 is not supported
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-as
          Assignee: unassignedbugs at nondot.org
          Reporter: yinma at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

test case:


    .macro ldrtest load store sym offset

    \load    r0, [r0, #:pc_g2:(\sym \offset)]
    \store    r0, [r0, #:pc_g2:(\sym \offset)]

@ LDR/STR/LDRB/STRB only have 12 bits available for the magnitude of the
@ So these should all (just) work.

    ldrtest ldrh strh f "+ 8"
    ldrtest ldrd strd f "+ 8"
    ldrtest ldrsh strd f "+ 8"
    ldrtest ldrsb strd f "+ 8"

@ The same as the above, but for a local symbol.  These should not be
@ resolved by the assembler but instead left to the linker.

    ldrtest ldrh strh localsym "+ 8"
    ldrtest ldrd strd localsym "+ 8"
    ldrtest ldrsh strd localsym "+ 8"
    ldrtest ldrsb strd localsym "+ 8"

    mov    r0, #0

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/20150108/ceb8b291/attachment.html>

More information about the llvm-bugs mailing list