http://sourceware.org/bugzilla/show_bug.cgi?id=12262
Summary: gold fails to link symbols explicitly defined in
base-version
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: [email protected]
ReportedBy: [email protected]
The binutils manual for ld suggests using this syntax to define a symbol
explicitly in base-version:
__asm__(".symver original_foo,foo@");
__asm__(".symver new_foo,foo@@VERS2");
but code compiled with this syntax is rejected by gold as the version "" is
undefined.
I'm attaching a patch to solve the issue, which ensures that the base version
is registered for the "" version.
Thanks,
Diego
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils