[LLVMbugs] [Bug 19872] New: Missing support for .reloc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 27 12:52:53 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19872

            Bug ID: 19872
           Summary: Missing support for .reloc
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: MIPS
          Assignee: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Consider the following:

addiu   $25,$25,%lo(foo)
.reloc 1f,R_MIPS_JALR,foo
1:     jalr    $25

This kind of relocation hint is typically used both in hand-written assembler
as well as e.g. by GCC output. It allows the linker to replace the indirect
jump when the target is known at link time.

-- 
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/20140527/8b507b0f/attachment.html>


More information about the llvm-bugs mailing list