linux-user: Use abi_ulong for TARGET_ELF_PAGESTART
authorYongbok Kim <yongbok.kim@imgtec.com>
Mon, 20 Apr 2015 15:15:20 +0000 (16:15 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 15 Jun 2015 08:36:58 +0000 (11:36 +0300)
commit79cb1f1d698da5e1e183863aa3c8a91b2e750664
tree138c92cbe930ece6b8a68fa50009b55cc6c85d86
parent8be656b87c6bb1b9f8af3ff78094413d71e4443a
linux-user: Use abi_ulong for TARGET_ELF_PAGESTART

TARGET_ELF_PAGESTART is required to use abi_ulong to correctly handle
addresses for different target bits width.
This patch fixes a problem when running a 64-bit user mode application
on 32-bit host machines.

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c