m68k: Update elf_machine_load_address for static PIE
commit9ba7e81028b3313d9aeb97a98d2e37626694d442
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Oct 2017 10:36:34 +0000 (20 03:36 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Oct 2017 10:36:47 +0000 (20 03:36 -0700)
treedd07a362a5dcdbf64780757d49179faa22487b00
parent4027a4fda011c4431bdc3a063963de0b6fd6c07e
m68k: 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/m68k/dl-machine.h (elf_machine_load_address): Use
_dl_relocate_static_pie instead of _dl_start to compute load
address in static PIE.
ChangeLog
sysdeps/m68k/dl-machine.h