Skip to content

linux-user: Support o32 ABI with 64-bit MIPS CPUs

Philippe Mathieu-Daudé qemu-devel 1 version Applied

Status from this message: Applied to my linux-user-for-6.0 branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4linux-user/mips64: Restore setup_frame() for o32 ABIlinux-user/mips64/target_signal.h+4 -03 replies
2/4linux-user/mips64: Support o32 ABI syscallslinux-user/mips64/syscall_nr.h+4 -17 replies
3/4default-configs: Support o32 ABI with 64-bit MIPS CPUsdefault-configs/targets/mips64o32el-linux-user.mak docs/user/main.rst+10 -04 replies
4/4RFC qemu-binfmt-conf.sh: Add MIPS64 o32 ABIscripts/qemu-binfmt-conf.sh+4 -01 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonLaurent Vivier
1/4R-b R-b
2/4R-b R-b
3/4Inspired-by
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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: <[email protected]>

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
Signature · 1 line
2.26.2