qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] linux-user: Support o32 ABI with 64-bit MIPS CPUs


From: Philippe Mathieu-Daudé
Subject: [PATCH 0/4] linux-user: Support o32 ABI with 64-bit MIPS CPUs
Date: Thu, 19 Nov 2020 17:17:06 +0100

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-f4bug@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]