Skip to content

Commit

Permalink
linux-user/mips: Select Loongson CPU for Loongson binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
philmd committed Aug 19, 2024
1 parent 309ce6a commit e922abf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linux-user/mips64/target_elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e922abf

Please sign in to comment.