From 8172aad937f52fe4ae891a206492150815791f2a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 29 Sep 2017 16:23:18 -0700 Subject: arm: Update elf_machine_load_address for static PIE When --enable-static-pie is used to configure glibc, we need to use _dl_relocate_static_pie to compute load address in static PIE. * 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. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index efd567c..b6dbff0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2017-09-29 H.J. Lu + * 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. + +2017-09-29 H.J. Lu + * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if _DYNAMIC is undefined for static executable. -- cgit v1.1