summary refs log tree commit diff stats
path: root/linux-user/mips/target_elf.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-28 20:10:41 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-03-30 15:03:23 +0200
commitbaead642970602ec5ec935fc8e3653b5fa5f22fa (patch)
tree8320556b7e9169bbe2515d2334a2079a037f61cf /linux-user/mips/target_elf.h
parentf00506aeca2f6d92318967693f8da8c713c163f3 (diff)
downloadfocaccia-qemu-baead642970602ec5ec935fc8e3653b5fa5f22fa.tar.gz
focaccia-qemu-baead642970602ec5ec935fc8e3653b5fa5f22fa.zip
linux-user/sparc: Don't use 16-bit UIDs on SPARC V9
The 64-bit SPARC V9 syscall ABI uses 32-bit UIDs. Only enable
the 16-bit UID wrappers for 32-bit SPARC (V7 and V8).

Possibly missed in commit 992f48a036 ("Support for 32 bit
ABI on 64 bit targets (only enabled Sparc64)").

Reported-by: Gregor Riepl <onitake@gmail.com>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tested-by: Zach van Rijn <me@zv.io>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1394
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230327131910.78564-1-philmd@linaro.org>
Diffstat (limited to 'linux-user/mips/target_elf.h')
0 files changed, 0 insertions, 0 deletions