This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Add IFUNC support for MIPS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]