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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs