bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12261] New: gold fails to link symbols explicitly defined in b


From: flameeyes at gmail dot com
Subject: [Bug gold/12261] New: gold fails to link symbols explicitly defined in base-version
Date: Wed, 24 Nov 2010 01:22:48 +0000

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: address@hidden
        ReportedBy: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]