[PATCH] arm: Update elf_machine_load_address for static PIE
Joseph Myers
joseph@codesourcery.com
Fri Sep 29 22:17:00 GMT 2017
On Fri, 29 Sep 2017, H.J. Lu wrote:
> When --enable-static-pie is used to configure glibc, we need to use
> _dl_relocate_static_pie to compute load address in static PIE.
>
> OK for master?
>
> H.J.
> --
> * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
> _dl_relocate_static_pie instead of _dl_start to compute load
> address in static PIE. Return 0 if _DYNAMIC is undefined for
> static executable.
OK.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list