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


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