[llvm-bugs] [Bug 26743] New: references to @gnu_indirect_function must use the symbol

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 25 14:29:44 PST 2016


            Bug ID: 26743
           Summary: references to @gnu_indirect_function must use the
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: echristo at gmail.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified


.type foo, @function

.section zed,"ax"
call foo

gas produces a relocation that points to .text.

If the type is instead @gnu_indirect_function, the relocation points to foo.

With MC the relocation always points to .text.

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/20160225/4deb756a/attachment.html>

More information about the llvm-bugs mailing list