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

            Bug ID: 25218
           Summary: Unnecessary relocation with __start_* symbols
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@lists.llvm.org, r...@google.com
    Classification: Unclassified

Given

        .section bar, "a"
        .hidden __start_bar
        .long __start_bar - .
        .long __init_array_start - .

We produce a R_X86_64_RELATIVE for "__start_bar - .".

I *think* we do it because the symbol is created too late and by then we have
decided to create a dynamic relocation already.

Gold creates no relocations.

-- 
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