std.Target: fix toElfMachine() for arc/arceb

This commit is contained in:
Alex Rønne Petersen 2025-11-09 12:09:33 +01:00
parent a382b7bfc5
commit 255fc44036
No known key found for this signature in database

View File

@ -1036,7 +1036,7 @@ pub fn toElfMachine(target: *const Target) std.elf.EM {
.aarch64, .aarch64_be => .AARCH64,
.alpha => .ALPHA,
.amdgcn => .AMDGPU,
.arc, .arceb => .ARC_COMPACT,
.arc, .arceb => .ARC_COMPACT2,
.arm, .armeb, .thumb, .thumbeb => .ARM,
.avr => .AVR,
.bpfeb, .bpfel => .BPF,