[RFC] Add IFUNC support for MIPS
Alan Modra
amodra@gmail.com
Tue Jun 23 06:10:00 GMT 2015
On Mon, Jun 22, 2015 at 09:40:02PM +0100, Richard Sandiford wrote:
> > order of GOT entries is:
> > - local non-IFUNC GOT entries
> > - local IFUNC GOT entries
> > - normal global IFUNC GOT entries
> > - normal global non-IFUNC GOT entries
> > - reloc-only global non-IFUNC GOT entries
> > - reloc-only global IFUNC GOT entries
I recommend playing a little with ifunc resolvers in PIEs and shared
libraries that access a variable, with LD_BIND_NOW=1. You'll be in a
world of pain if the GOT entry for the variable isn't relocated before
the ifunc.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list