[PATCH] powerpc: Update elf_machine_load_address for static PIE
H.J. Lu
hjl.tools@gmail.com
Fri Sep 29 23:29:00 GMT 2017
On 9/29/17, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Sep 29, 2017 at 02:34:00PM -0700, H.J. Lu wrote:
>> powerpc uses _DYNAMIC to compute load address, which works with static
>> PIE. We just need to return 0 if _DYNAMIC is undefined for static
>> executable.
>
> powerpc does, but powerpc64 does not. So why is the test necessary on
> powerpc64?
>
You are right. Here is the updated patch for powerpc32. OK for master?
Thanks.
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-powerpc32-Update-elf_machine_load_address-for-static.patch
Type: text/x-patch
Size: 1150 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170929/e5ff4029/attachment.bin>
More information about the Libc-alpha
mailing list