A glibc dynamic linker or gld bug?

Richard Henderson rth@twiddle.net
Mon Jul 5 20:48:00 GMT 1999


On Mon, Jul 05, 1999 at 02:55:51PM +1000, Geoff Keating wrote:
> There is no way that a weak symbol defined in an
> executable can be overriden by anything else, so there should be no
> relocations referring to it.

In the weak model prefered by glibc and SGI, sure there is.
A strong symbol defined in a shared library will override 
the weak symbol in the main executable.

But this is not the model Sun prefers, since it kills their
cute lazy loading scheme.


r~


More information about the Binutils mailing list