ld not recording symbol versions for weak symbols

Alan Modra amodra@gmail.com
Mon Jul 1 05:26:00 GMT 2013
On Sun, Jun 30, 2013 at 04:53:54PM +0200, Matthias Klose wrote:
> This is PR15636, forwarded from http://bugs.debian.org/712081.  If I understand
> Zack's comment, then the NEEDED entry for libraries where only weak symbols are
> referenced, isn't needed (first seen with 2.23).  However in this case, the
> symbol version isn't recorded either. Is this expected too?

I think it is quite reasonable.  After all, linking without the
library in question will succeed, and that will leave undefined weak
symbols undecorated.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list