diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-08-14 12:16:39 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-08-20 00:49:13 +0200 |
commit | e922abf5c0e40eb451434c4121b730c8a19d80d4 (patch) | |
tree | d88e40b6ce8d653cbc275547b73eb805589cc0e0 /linux-user/mips64/target_elf.h | |
parent | 309ce6af94738ae22f01f4c145b82e51400b14b6 (diff) |
linux-user/mips: Select Loongson CPU for Loongson binaries
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240814133928.6746-5-philmd@linaro.org>
Diffstat (limited to 'linux-user/mips64/target_elf.h')
-rw-r--r-- | linux-user/mips64/target_elf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/mips64/target_elf.h b/linux-user/mips64/target_elf.h index a3a8b2e385..502af9d278 100644 --- a/linux-user/mips64/target_elf.h +++ b/linux-user/mips64/target_elf.h @@ -14,6 +14,12 @@ static inline const char *cpu_get_model(uint32_t eflags) case EF_MIPS_MACH_OCTEON2: case EF_MIPS_MACH_OCTEON3: return "Octeon68XX"; + case EF_MIPS_MACH_LS2E: + return "Loongson-2E"; + case EF_MIPS_MACH_LS2F: + return "Loongson-2F"; + case EF_MIPS_MACH_LS3A: + return "Loongson-3A1000"; default: break; } |