Your patch on 2001-01-26 is bad

Geoff Keating geoffk@geoffk.org
Wed Feb 7 12:13:00 GMT 2001


> Date: Wed, 7 Feb 2001 01:50:03 -0800
> From: Richard Henderson <rth@redhat.com>
> Cc: "H . J . Lu" <hjl@valinux.com>, binutils@sourceware.cygnus.com
> 
> On Tue, Feb 06, 2001 at 11:59:45PM -0800, Ulrich Drepper wrote:
> > The way explained is how these visibilities are defined.  Whether you
> > like it or not.
> 
> I didn't see anything in that proposal that stated that STV_PROTECTED
> must be implemented solely in ld.so.  Please show me that wording and
> I'll yield.  Not before.  There is no reason ld cannot take advantage
> of the *known* binding of an STV_PROTECTED symbol.

I think this would have to be machine-specific.  On powerpc, you could
resolve branch instructions directly (which is a significant win), but
you can't turn GOT relocs into RELATIVE relocs because they may have to
point to the application's PLT entry.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


More information about the Binutils mailing list