Undefined weak symbol bug

Roland McGrath roland@redhat.com
Tue Apr 1 07:20:00 GMT 2003


> 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.



More information about the Libc-alpha mailing list