qemu/linux-user
Richard Henderson c81d1fafa6 linux-user: Honor elf alignment when placing images
Most binaries don't actually depend on more than page alignment,
but any binary can request it.  Not honoring this was a bug.

This became obvious when gdb reported

    Failed to read a valid object file image from memory

when examining some vdso which are marked as needing more
than page alignment.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-11-16 08:42:25 -08:00
..
aarch64 linux-user,aarch64: move to syscalltbl file 2024-09-22 09:30:18 +02:00
alpha target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
arm target/arm: Explicitly set 2-NaN propagation rule 2024-11-05 10:09:53 +00:00
generic
hexagon linux-user,hexagon: move to syscalltbl file 2024-09-22 09:30:18 +02:00
hppa linux-user/hppa: fix -Werror=maybe-uninitialized false-positive 2024-10-02 16:14:29 +04:00
i386 linux-user/i386: Use explicit little-endian LD/ST API 2024-10-15 12:13:59 -03:00
include
loongarch64 linux-user,loongarch: move to syscalltbl file 2024-09-22 09:30:18 +02:00
m68k target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
microblaze target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
mips target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
mips64 target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
openrisc linux-user,openrisc: move to syscalltbl file 2024-09-22 09:30:18 +02:00
ppc linux-user/ppc: Fix sigmask endianness issue in sigreturn 2024-10-22 13:45:03 -07:00
riscv linux-user,riscv: move to syscalltbl file 2024-09-22 09:30:18 +02:00
s390x target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
sh4 target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
sparc target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
x86_64 target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
xtensa target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
cpu_loop-common.h
elfload.c linux-user: Honor elf alignment when placing images 2024-11-16 08:42:25 -08:00
errnos.c.inc
exit.c
fd-trans.c
fd-trans.h
flat.h
flatload.c linux-user/flatload: Take mmap_lock in load_flt_binary() 2024-10-08 06:28:46 -07:00
gen-vdso-elfn.c.inc linux-user: Fix GDB complaining about system-supplied DSO string table index 2024-11-05 10:36:08 +00:00
gen-vdso.c linux-user: Fix GDB complaining about system-supplied DSO string table index 2024-11-05 10:36:08 +00:00
ioctls.h linux-user: Add ioctl for BLKBSZSET 2024-06-05 09:04:30 -07:00
linux_loop.h
linuxload.c
loader.h
main.c linux-user: Allow custom rt signal mappings 2024-11-05 10:36:08 +00:00
meson.build linux-user,hexagon: move to syscalltbl file 2024-09-22 09:30:18 +02:00
mmap.c linux-user: Handle short reads in mmap_h_gt_g 2024-08-21 09:09:46 +10:00
qemu.h linux-user/i386: Emulate orig_ax 2024-10-13 10:05:51 -07:00
semihost.c
signal-common.h linux-user: Allow custom rt signal mappings 2024-11-05 10:36:08 +00:00
signal.c linux-user: Allow custom rt signal mappings 2024-11-05 10:36:08 +00:00
socket.h
strace.c linux-user: Trace rt_sigprocmask's sigsets 2024-10-22 13:45:03 -07:00
strace.h
strace.list linux-user: Trace rt_sigprocmask's sigsets 2024-10-22 13:45:03 -07:00
syscall_defs.h linux-user: Fix build failure caused by missing __u64 on musl 2024-10-22 13:45:03 -07:00
syscall_types.h
syscall.c linux-user: Fix setreuid and setregid to use direct syscalls 2024-11-16 08:40:19 -08:00
thunk.c
trace-events
trace.h
uaccess.c
uname.c
uname.h
user-internals.h linux-user: Remove unused handle_vm86_fault 2024-10-03 17:26:06 +03:00
user-mmap.h
vm86.c linux-user/vm86: Fix compilation with Clang 2024-10-13 10:34:00 -07:00