mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.Target: handle some more cases in toCoffMachine()
This commit is contained in:
parent
362a44a122
commit
0e15b2ac10
@ -1106,36 +1106,36 @@ pub fn toCoffMachine(target: *const Target) std.coff.IMAGE.FILE.MACHINE {
|
|||||||
.aarch64 => .ARM64,
|
.aarch64 => .ARM64,
|
||||||
.loongarch32 => .LOONGARCH32,
|
.loongarch32 => .LOONGARCH32,
|
||||||
.loongarch64 => .LOONGARCH64,
|
.loongarch64 => .LOONGARCH64,
|
||||||
|
.mips => .R3000BE,
|
||||||
|
.mipsel => .R3000,
|
||||||
|
.mips64el => .R4000,
|
||||||
|
.powerpcle => .POWERPC,
|
||||||
.riscv32 => .RISCV32,
|
.riscv32 => .RISCV32,
|
||||||
.riscv64 => .RISCV64,
|
.riscv64 => .RISCV64,
|
||||||
.x86 => .I386,
|
.x86 => .I386,
|
||||||
.x86_64 => .AMD64,
|
.x86_64 => .AMD64,
|
||||||
|
|
||||||
|
.aarch64_be,
|
||||||
.amdgcn,
|
.amdgcn,
|
||||||
.arc,
|
.arc,
|
||||||
.armeb,
|
.armeb,
|
||||||
.thumbeb,
|
|
||||||
.aarch64_be,
|
|
||||||
.avr,
|
.avr,
|
||||||
.bpfel,
|
|
||||||
.bpfeb,
|
.bpfeb,
|
||||||
|
.bpfel,
|
||||||
.csky,
|
.csky,
|
||||||
.hexagon,
|
.hexagon,
|
||||||
.kalimba,
|
.kalimba,
|
||||||
.lanai,
|
.lanai,
|
||||||
.m68k,
|
.m68k,
|
||||||
.mips,
|
|
||||||
.mipsel,
|
|
||||||
.mips64,
|
.mips64,
|
||||||
.mips64el,
|
|
||||||
.msp430,
|
.msp430,
|
||||||
.or1k,
|
|
||||||
.nvptx,
|
.nvptx,
|
||||||
.nvptx64,
|
.nvptx64,
|
||||||
|
.or1k,
|
||||||
.powerpc,
|
.powerpc,
|
||||||
.powerpcle,
|
|
||||||
.powerpc64,
|
.powerpc64,
|
||||||
.powerpc64le,
|
.powerpc64le,
|
||||||
|
.propeller,
|
||||||
.riscv32be,
|
.riscv32be,
|
||||||
.riscv64be,
|
.riscv64be,
|
||||||
.s390x,
|
.s390x,
|
||||||
@ -1143,12 +1143,12 @@ pub fn toCoffMachine(target: *const Target) std.coff.IMAGE.FILE.MACHINE {
|
|||||||
.sparc64,
|
.sparc64,
|
||||||
.spirv32,
|
.spirv32,
|
||||||
.spirv64,
|
.spirv64,
|
||||||
|
.thumbeb,
|
||||||
.ve,
|
.ve,
|
||||||
.wasm32,
|
.wasm32,
|
||||||
.wasm64,
|
.wasm64,
|
||||||
.xcore,
|
.xcore,
|
||||||
.xtensa,
|
.xtensa,
|
||||||
.propeller,
|
|
||||||
=> .UNKNOWN,
|
=> .UNKNOWN,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user