http://sourceware.org/bugzilla/show_bug.cgi?id=12261
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: i...@airs.com ReportedBy: flamee...@gmail.com 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 --- Comment #1 from Diego 'Flameeyes' Pettenò <flameeyes at gmail dot com> 2010-11-24 01:22:19 UTC --- *** Bug 12262 has been marked as a duplicate of this bug. *** -- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils