Commit 59ae51199e
Changed files (2)
lib
lib/std/start.zig
@@ -271,8 +271,8 @@ fn _start() callconv(.Naked) noreturn {
\\ b %[posixCallMainAndExit]
,
.arc =>
- // The `arc` tag currently means ARCv2, which has an unusually low stack alignment
- // requirement. ARCv3 increases it from 4 to 16, but we don't support ARCv3 yet.
+ // The `arc` tag currently means ARC v1 and v2, which have an unusually low stack
+ // alignment requirement. ARC v3 increases it from 4 to 16, but we don't support v3 yet.
\\ mov fp, 0
\\ mov blink, 0
\\ mov r0, sp
lib/std/Target.zig
@@ -847,7 +847,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {
return switch (target.cpu.arch) {
.amdgcn => .AMDGPU,
- .arc => .ARC_COMPACT2,
+ .arc => .ARC_COMPACT,
.arm, .armeb, .thumb, .thumbeb => .ARM,
.aarch64, .aarch64_be => .AARCH64,
.avr => .AVR,