[PATCH] mips: 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:
> 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
More information about the Libc-alpha
mailing list