This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Symbol visibility revised
On Mon, May 01, 2000 at 01:39:08PM -0700, H . J . Lu wrote:
> You are right. Here is the modified patch. We should remove PLT
> only for hidden and internal symbols.
Why? What has the PLT in a dso got to do with the function pointer?
The only time we resolve to a PLT entry (x86, m68k, sparc) is when
the main application does not define a function it calls. On other
systems (alpha, ia64) taking the address of a function has zilch
to do with PLTs.
r~