This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Undefined weak symbols stay undefined
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 25 Nov 2003 20:55:35 +1030
- Subject: Re: Undefined weak symbols stay undefined
- References: <877k1ou5wz.fsf@freon.briz.fadata.bg>
On Tue, Nov 25, 2003 at 11:57:32AM +0200, Momchil Velikov wrote:
> Aren't undefined weak symbols supposed to be _defined_ to zero by
> the linker, probably putting them in SHN_ANS ?
No. Undefined weak symbols have a _value_ of zero, which is different
to saying they are defined to zero.
--
Alan Modra
IBM OzLabs - Linux Technology Centre