[LLVMbugs] [Bug 22155] New: ARM RELOCATION 0x4f is not supported
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Jan  8 14:01:11 PST 2015
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=22155
            Bug ID: 22155
           Summary: ARM RELOCATION 0x4f 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:
    .text
    .macro ldrtest load store sym offset
    \load    r0, [r0, #:sb_g1:(\sym \offset)]
    \store    r0, [r0, #:sb_g1:(\sym \offset)]
    .endm
@ LDR/STR/LDRB/STRB only have 12 bits available for the magnitude of the
addend.
@ 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"
localsym:
    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/c49eee06/attachment.html>
    
    
More information about the llvm-bugs
mailing list