Harden powerpc64 elf_machine_fixup_plt

Richard Henderson rth@twiddle.net
Tue Mar 24 14:48:00 GMT 2015


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?  Most of the ones that don't have gp-rel also don't have ifunc.


r~



More information about the Libc-alpha mailing list