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

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

Given

.type foo, @function
foo:

.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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to