This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: A glibc dynamic linker or gld bug?
- To: Geoff Keating <geoffk@ozemail.com.au>
- Subject: Re: A glibc dynamic linker or gld bug?
- From: Richard Henderson <rth@twiddle.net>
- Date: Mon, 5 Jul 1999 20:48:14 -0700
- Cc: hjl@lucon.org, drepper@cygnus.com, ian@cygnus.com, binutils@sourceware.cygnus.com, libc-hacker@sourceware.cygnus.com, jgg@ualberta.ca
- References: <19990704205206.7C71E57B9@ocean.lucon.org> <199907050455.OAA00862@geoffk.wattle.id.au>
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~