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 NAME2@NODENAME. The difference
is NAME2@@NODENAME will also be used to resolve references to NAME2 by
the linker.
Linker shouldn't use foo@VERS_1.1 to resolve references to foo.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils