diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-02 15:58:07 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-08 13:27:17 -0700 |
commit | 1ea06ded0de5adcd40a0122ea73c9761f488bfba (patch) | |
tree | e21366bd68ef8fe9fd45ae03b177462890312077 /linux-user/vm86.c | |
parent | ad25051bae392ce35437cdf996aedecc0772af2f (diff) | |
download | qemu-1ea06ded0de5adcd40a0122ea73c9761f488bfba.zip qemu-1ea06ded0de5adcd40a0122ea73c9761f488bfba.tar.gz qemu-1ea06ded0de5adcd40a0122ea73c9761f488bfba.tar.bz2 |
linux-user: Use elf_et_dyn_base for ET_DYN with interpreter
Follow the lead of the linux kernel in fs/binfmt_elf.c,
in which an ET_DYN executable which uses an interpreter
(usually a PIE executable) is loaded away from where the
interpreter itself will be loaded.
Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/vm86.c')
0 files changed, 0 insertions, 0 deletions