Harden powerpc64 elf_machine_fixup_plt
Alan Modra
amodra@gmail.com
Wed Mar 25 00:05:00 GMT 2015
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
More information about the Libc-alpha
mailing list