On Fri, Dec 23, 2016 at 11:27:15AM -0800, Philip Guenther wrote:
> This is a form we use inside _libc_ so that calls to those functions
> generated by gcc will be redirected to aliases with hidden visibility
> and thus be local calls, without using the PLT.  If that won't work
> with clang, then we'll want to figure out some other way to get the
> calls to those functions generated by the compiler to be local calls
> inside libc.

I'm not sure about all possible platforms, but for all I can think of,
it is enough if the target is hidden. In that case ld should be using
a direct jump/call to the destination without creating a PLT entry.

Joerg

Reply via email to