diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-09-29 16:23:18 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-09-29 16:23:33 -0700 |
commit | 8172aad937f52fe4ae891a206492150815791f2a (patch) | |
tree | 97fc934222208804a3c483a88ae4b60fa0f0b67c /ChangeLog | |
parent | 54464e749d91401ccf20a5dc1c7af86b752c9e0c (diff) | |
download | glibc-8172aad937f52fe4ae891a206492150815791f2a.tar.gz glibc-8172aad937f52fe4ae891a206492150815791f2a.tar.xz glibc-8172aad937f52fe4ae891a206492150815791f2a.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index efd567ce34..b6dbff0624 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2017-09-29 H.J. Lu <hongjiu.lu@intel.com> + * 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 <hongjiu.lu@intel.com> + * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if _DYNAMIC is undefined for static executable. |