This series allow building linux-user emulator to run ELF binaries built for the MIPS o32 ABI on 64-bit CPUs (binaries produced by Sony Linux Toolkit for Playstation 2 for the R5900 CPU).
The new QEMU binary is named 'qemu-mips64o32'. The binfmt config isn't correct, as it matches mipsel/mipsn32el. I missed to understand how mipsel (o32) and mipsn32el (n32) are differenciated. Based-on: <20201119160838.1981709-1-f4...@amsat.org> Philippe Mathieu-Daudé (4): linux-user/mips64: Restore setup_frame() for o32 ABI linux-user/mips64: Support o32 ABI syscalls default-configs: Support o32 ABI with 64-bit MIPS CPUs RFC qemu-binfmt-conf.sh: Add MIPS64 o32 ABI docs/user/main.rst | 3 +++ default-configs/targets/mips64o32el-linux-user.mak | 7 +++++++ linux-user/mips64/syscall_nr.h | 5 ++++- linux-user/mips64/target_signal.h | 4 ++++ scripts/qemu-binfmt-conf.sh | 4 ++++ 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 default-configs/targets/mips64o32el-linux-user.mak -- 2.26.2