elflink.h -Bsymbolic change

H . J . Lu hjl@lucon.org
Sun Apr 8 21:52:00 GMT 2001


On Mon, Apr 09, 2001 at 05:44:44AM +0200, Hans-Peter Nilsson wrote:
> > Date: Mon, 9 Apr 2001 13:12:39 +1000 (EST)
> > From: Alan Modra <alan@linuxcare.com.au>
> 
> > On Sun, 8 Apr 2001, H . J . Lu wrote:
> 
> > > As I said, protected symbols
> > > should be no different from default, global symbols to the static
> > > linker since protected symbols are the same as default, global symbols
> > > if there are second definitions.
> > 
> > OK, I'll defer to your judgement.  If the dynamic linker does the right
> > thing then there should be no problem in keeping a .plt entry.  Please
> > check in your patch, hp.
> 
> Done.  Though I don't really understand why we're not allowed to
> get rid of the local PLT entry for the DSO in this case.
> 

I am not sure that it is 100% safe to get rid of PLT entries for
protected symbols for all arches. I hate to see any surprises.


H.J.



More information about the Binutils mailing list