STT_GNU_IFUNC and PLT

Ian Lance Taylor iant@google.com
Fri Aug 9 16:57:00 GMT 2013


On Fri, Aug 9, 2013 at 8:52 AM, vijay nag <vijunag@gmail.com> wrote:
>
> Does STT_GNU_IFUNC always execute via PLT even for a statically linked
> application compiled without -FPIC ?

In effect, yes.  There is some magic in glibc to resolve the IRELATIVE
relocations at startup time even though the dynamic linker is not
being run.

Ian



More information about the Gcc-help mailing list