mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.Target: Fix Arch.toElfMachine() for mips.
EM_MIPS_RS3_LE is obsolete; all mips targets just use EM_MIPS. Also, fun fact: EM_MIPS_RS3_LE is actually big endian!
This commit is contained in:
parent
6c27cab5b3
commit
490b328127
1 changed files with 1 additions and 2 deletions
|
|
@ -1223,8 +1223,7 @@ pub const Cpu = struct {
|
|||
.lanai => .LANAI,
|
||||
.loongarch32, .loongarch64 => .LOONGARCH,
|
||||
.m68k => .@"68K",
|
||||
.mips, .mips64 => .MIPS,
|
||||
.mipsel, .mips64el => .MIPS_RS3_LE,
|
||||
.mips, .mips64, .mipsel, .mips64el => .MIPS,
|
||||
.msp430 => .MSP430,
|
||||
.powerpc, .powerpcle => .PPC,
|
||||
.powerpc64, .powerpc64le => .PPC64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue