On 5/30/26 23:12, Richard Henderson wrote:
Pass a PGBRange structure instead of separate guest_loaddr
and guest_hiaddr parameters.  This allows NULL to indicate
that the image is relocatable, so that image_range->lo == 0
is a valid fixed setting.

Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/1890
Signed-off-by: Richard Henderson <[email protected]>
---
  linux-user/user-internals.h | 13 ++++-------
  linux-user/elfload.c        | 46 +++++++++++++++++--------------------
  linux-user/flatload.c       |  2 +-
  3 files changed, 27 insertions(+), 34 deletions(-)


Reviewed-by: Helge Deller <[email protected]>

Reply via email to