]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/mips: Do not try to use removed R5900 CPU
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 14 Aug 2024 10:01:18 +0000 (12:01 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 6 Sep 2025 20:59:17 +0000 (23:59 +0300)
commit8a9322814e9704001ed8fb6dd086abf11494912d
tree64668084b0ca6c2aec7e91feb6fac4769c1237de
parentd790ae865c9ccdd347e453499700d4479e7e1a6a
linux-user/mips: Do not try to use removed R5900 CPU

R5900 emulation was removed in commit 823f2897bd.
Remove it from ELF parsing in order to avoid:

  $ qemu-mipsn32 ./test5900
  qemu-mipsn32: unable to find CPU model 'R5900'

This reverts commit 4d9e5a0eb7df6e98ac6cf5e16029f35dd05b9537.

Fixes: 823f2897bd ("target/mips: Disable R5900 support")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240814133928.6746-2-philmd@linaro.org>
(cherry picked from commit f7e3d7521b41ada97c5344914d3c9bc6ed04c82a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/mips/target_elf.h
linux-user/mips64/target_elf.h