The pgb_find_hole function goes to the trouble of taking account of
both mmap_min_addr and any offset we've applied to decide the starting
address of a potential hole. This is especially important for
emulating 32bit ARM in a 32bit build as we have applied the offset to
ensure there will be space to map the ARM_COMMPAGE bellow the main
guest map (using wrapped arithmetic).
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Resolves:https://gitlab.com/qemu-project/qemu/-/issues/690
---
v2
- also make same adjustment to fallback
---
linux-user/elfload.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)