Changes for v8: * Remove adjustments to the image mapping for host page size. Instead, rely on target_mmap to do its job in that respect. This was the root cause of the 64k host page size issues.
Please review. r~ Akihiko Odaki (6): linux-user: Unset MAP_FIXED_NOREPLACE for host linux-user: Fix MAP_FIXED_NOREPLACE on old kernels linux-user: Do not call get_errno() in do_brk() linux-user: Use MAP_FIXED_NOREPLACE for do_brk() linux-user: Do nothing if too small brk is specified linux-user: Do not align brk with host page size Helge Deller (1): linux-user: Adjust initial brk when interpreter is close to executable Richard Henderson (10): linux-user: Remove last_brk linux-user: Adjust task_unmapped_base for reserved_va linux-user: Define TASK_UNMAPPED_BASE in $guest/target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h linux-user: Use MAP_FIXED_NOREPLACE for initial image mmap linux-user: Use elf_et_dyn_base for ET_DYN with interpreter linux-user: Properly set image_info.brk in flatload linux-user: Do not adjust image mapping for host page size linux-user: Do not adjust zero_bss for host page size linux-user: Use zero_bss for PT_LOAD with no file contents too linux-user/aarch64/target_mman.h | 13 ++ linux-user/alpha/target_mman.h | 11 ++ linux-user/arm/target_mman.h | 11 ++ linux-user/cris/target_mman.h | 12 ++ linux-user/hexagon/target_mman.h | 13 ++ linux-user/hppa/target_mman.h | 6 + linux-user/i386/target_mman.h | 16 +++ linux-user/loongarch64/target_mman.h | 11 ++ linux-user/m68k/target_mman.h | 5 + linux-user/microblaze/target_mman.h | 11 ++ linux-user/mips/target_mman.h | 10 ++ linux-user/nios2/target_mman.h | 10 ++ linux-user/openrisc/target_mman.h | 10 ++ linux-user/ppc/target_mman.h | 20 +++ linux-user/qemu.h | 2 - linux-user/riscv/target_mman.h | 10 ++ linux-user/s390x/target_mman.h | 20 +++ linux-user/sh4/target_mman.h | 7 ++ linux-user/sparc/target_mman.h | 25 ++++ linux-user/user-mmap.h | 6 +- linux-user/x86_64/target_mman.h | 15 +++ linux-user/xtensa/target_mman.h | 10 ++ linux-user/elfload.c | 181 ++++++++++++--------------- linux-user/flatload.c | 2 +- linux-user/main.c | 35 +++++- linux-user/mmap.c | 68 ++++++---- linux-user/syscall.c | 69 +++------- 27 files changed, 417 insertions(+), 192 deletions(-) -- 2.34.1