[llvm-bugs] [Bug 25218] New: Unnecessary relocation with __start_* symbols
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 16 14:15:41 PDT 2015
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: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org, ruiu at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151016/0cbf1f96/attachment.html>
More information about the llvm-bugs
mailing list