Testing clang -fsanitize=undefined -fno-sanitize-recover=undefined yields ../src/linux-user/syscall.c:1241:5: runtime error: member access within \ misaligned address 0x00004081007c for type \ 'struct target__kernel_timespec', which requires 8 byte alignment
etc, for sh4, microblaze, and nios2. Fix all the non-abi_type usage within syscalls_def.h, and also ABI_LLONG_ALIGNMENT for microblaze and nios2. r~ Richard Henderson (15): linux-user: Reformat syscall_defs.h linux-user: Remove #if 0 block in syscall_defs.h linux-user: Use abi_uint not uint32_t in syscall_defs.h linux-user: Use abi_int not int32_t in syscall_defs.h linux-user: Use abi_ullong not uint64_t in syscall_defs.h linux-user: Use abi_llong not int64_t in syscall_defs.h linux-user: Use abi_uint not unsigned int in syscall_defs.h linux-user: Use abi_ullong not unsigned long long in syscall_defs.h linux-user: Use abi_llong not long long in syscall_defs.h linux-user: Use abi_int not int in syscall_defs.h linux-user: Use abi_ushort not unsigned short in syscall_defs.h linux-user: Use abi_short not short in syscall_defs.h linux-user: Use abi_uint not unsigned in syscall_defs.h include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 include/exec/user/abitypes.h | 5 +- linux-user/syscall_defs.h | 2284 +++++++++++++++++----------------- 2 files changed, 1134 insertions(+), 1155 deletions(-) -- 2.34.1