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 symbol bug


> Should ld or ld.so resolve it to zero? If ld does, should the
> binding be changed to STB_LOCAL and remove the relocation entry?

Yes, I think so.  It just doesn't make sense for these to be resolved at
run time, because the choice of values is in fact fixed at link time.

> Undefined weak reference is never intended to be resolved by ld. Many
> changes have to be made for it.

I don't understand this remark.  ld resolves undefined weak references to zero.


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