bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18703] Symbol version and Version script incompatibility with


From: hjl.tools at gmail dot com
Subject: [Bug gold/18703] Symbol version and Version script incompatibility with BFD ld
Date: Wed, 22 Jul 2015 00:10:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18703

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Cary Coutant from comment #1)
> I think this is working as intended, although comparing with Gnu ld output,
> I see that gold defines it as a default version ("@@") where Gnu ld does
> not. I'm not sure what the logic ought to be for that. Without the __asm__
> in the .c file, Gnu ld also makes it a default version.

>From "info as":

   Another usage of the '.symver' directive is:
     .symver NAME, NAME2@@NODENAME
   In this case, the symbol NAME must exist and be defined within the
file being assembled.  It is similar to address@hidden  The difference
is NAME2@@NODENAME will also be used to resolve references to NAME2 by
the linker.

Linker shouldn't use address@hidden to resolve references to foo.

-- 
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]