This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] mips: 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:16:59 +0000
- Subject: Re: [PATCH] mips: Update elf_machine_load_address for static PIE
- Authentication-results: sourceware.org; auth=none
- References: <20170929213441.GN2482@gmail.com>
On Fri, 29 Sep 2017, H.J. Lu wrote:
> mips uses a local label to compute load address, which works with static
> PIE. We just need to return 0 if _DYNAMIC is undefined for static
> executable.
>
> OK for master?
>
> * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
> _DYNAMIC is undefined for static executable.
OK.
--
Joseph S. Myers
joseph@codesourcery.com