This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Optimize protected call for i386
On Thu, May 15, 2003 at 04:05:51PM +0930, Alan Modra wrote:
>
> > * elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected
> > symbol.
>
> Not OK until proven good. I reckon this is the source of
> http://sources.redhat.com/ml/binutils/2003-05/msg00457.html on ppc32.
>
I don't believe it is related. Jack, did you use my elflink.c patch
in your test? Even if it caused the ppc32 failure, it is a ppc32 bug.
We have agreed that we don't need PLT for calling protected functions.
Function pointers use GOT, not PLT. If it is a problem for ppc32,
ppc32 shouldn't use the generic function to hide the protected symbol.
H.J.
H.J.