On 8/14/25 17:06, Philippe Mathieu-Daudé wrote:
We weren't parsing MIPS ASE in the ELF header, so couldn't
automatically pick an appropriate CPU.

Since we'll have a rc4, I propose these sensible patches
for 10.1, but both ASEs are available since 15 years in QEMU,
so this isn't something broken since the latest release, and
I don't mind holding it for 10.2.

Regards,

Phil.

Philippe Mathieu-Daudé (3):
   elf: Add EF_MIPS_ARCH_ASE definitions
   linux-user/mips: Select 74Kf CPU to run MIPS16e binaries
   linux-user/mips: Select M14Kc CPU to run microMIPS binaries

  include/elf.h                | 7 +++++++
  linux-user/mips/target_elf.h | 6 ++++++
  2 files changed, 13 insertions(+)


Does mips16 or micromips apply to mips64 as well?
If so, we're missing changes to linux-user/mips64/target_elf.h.

Otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to