This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Harden powerpc64 elf_machine_fixup_plt


On Tue, Mar 24, 2015 at 07:47:47AM -0700, Richard Henderson wrote:
> On 03/23/2015 07:55 PM, Alan Modra wrote:
> > However, an ifunc resolver must return an address.  Targets that don't
> > have pc-relative addressing, and don't implement some form of
> > gp-relative addressing, calculate even local PIC addresses by loading
> > a GOT entry.
> 
> True.  But easily fixable by mandating the implementation of gp-relative
> addressing when implementing ifunc.  Do we have any left that miss this
> criteria?

powerpc is in this category.  powerpc64 -mcmodel=small or
-mcmodel=large also.  hppa also, I think.

-- 
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]