diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-11-14 12:13:29 -0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-11-29 15:35:38 +0300 |
commit | 983a4a828c64dba88386f3835d7e24528edbd29e (patch) | |
tree | a391a8438d4fcd77183b2140780f7d02b3ec15d9 /qemu-keymap.c | |
parent | 88e79a2dfda319f9ebec2cc8a5c3c9733716d13f (diff) |
linux-user: Fix loaddr computation for some elf files
The file offset of the load segment is not relevant to the
low address, only the beginning of the virtual address page.
Cc: qemu-stable@nongnu.org
Fixes: a93934fecd4 ("elf: take phdr offset into account when calculating the program load address")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1952
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 82d70a84c8ee42ef969a9cfddc0f5b30b16165f5)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions