RFC: Fix ia64 visibility

Richard Henderson rth@redhat.com
Wed May 7 23:19:00 GMT 2003


On Wed, May 07, 2003 at 04:15:08PM -0700, H. J. Lu wrote:
> It is an optimization for calling directly to protected functions. In
> that case, we don't need PLT nor function descriptors. It is the same
> as calling an internal function.

Certainly.

> But we can't do it for function
> descriptors of protected functions. That check is based on relocation
> type, not just symbol alone.

Because ld.so is going to allocate it, correct?

> Another way to do it is to pass reloction type to
> elfNN_ia64_dynamic_symbol_p so that it has enough info to do
> the right thing.

Eh.  I'd prefer a different function.  It can do little else
besides checking the reloc plus calling elfNN_ia64_dynamic_symbol_p.

> I can submit a new patch if it is preferred.

Please.


r~



More information about the Binutils mailing list