This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld not recording symbol versions for weak symbols
- From: Alan Modra <amodra at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 1 Jul 2013 14:56:16 +0930
- Subject: Re: ld not recording symbol versions for weak symbols
- References: <51D04682 dot 7000403 at ubuntu dot com>
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