This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined weak symbols stay undefined


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]