This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] arm: Update elf_machine_load_address for static PIE
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 29 Sep 2017 22:17:27 +0000
- Subject: Re: [PATCH] arm: Update elf_machine_load_address for static PIE
- Authentication-results: sourceware.org; auth=none
- References: <20170929213634.GS2482@gmail.com>
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