Proposal for STT_GNU_IFUNC and R_*_IRELATIVE
Roland McGrath
roland@redhat.com
Mon Jun 8 17:01:00 GMT 2009
> > The only other alternative to #1 that I see is some scheme whereby "&func"
> > will in all cases resolve to a PLT entry rather than the actual
> > STT_GNU_IFUNC symbol's st_value. i.e., the ifunc resolver is only called
> > for PLT resolution (and you can do all those last for BIND_NOW).
>
> This will break pointer comparisons across modules.
You seem to have misunderstood the idea.
More information about the Binutils
mailing list