| author | |
| committer | |
| log | 59ae51199ed07b0bf19a2fda61fad77094f1fc7f |
| tree | 456c7a5b90259103fdf87c1fec532a0b3774e78f |
| parent | 2e3599c7d023ea8649d118de077acb695eb6c264 |
| signature |
Also fix an incorrect related comment in start.zig.2 files changed, 3 insertions(+), 3 deletions(-)
lib/std/Target.zig+1-1| ... | ... | @@ -847,7 +847,7 @@ pub fn toElfMachine(target: Target) std.elf.EM { |
| 847 | 847 | |
| 848 | 848 | return switch (target.cpu.arch) { |
| 849 | 849 | .amdgcn => .AMDGPU, |
| 850 | .arc => .ARC_COMPACT2, | |
| 850 | .arc => .ARC_COMPACT, | |
| 851 | 851 | .arm, .armeb, .thumb, .thumbeb => .ARM, |
| 852 | 852 | .aarch64, .aarch64_be => .AARCH64, |
| 853 | 853 | .avr => .AVR, |
lib/std/start.zig+2-2| ... | ... | @@ -271,8 +271,8 @@ fn _start() callconv(.Naked) noreturn { |
| 271 | 271 | \\ b %[posixCallMainAndExit] |
| 272 | 272 | , |
| 273 | 273 | .arc => |
| 274 | // The `arc` tag currently means ARCv2, which has an unusually low stack alignment | |
| 275 | // requirement. ARCv3 increases it from 4 to 16, but we don't support ARCv3 yet. | |
| 274 | // The `arc` tag currently means ARC v1 and v2, which have an unusually low stack | |
| 275 | // alignment requirement. ARC v3 increases it from 4 to 16, but we don't support v3 yet. | |
| 276 | 276 | \\ mov fp, 0 |
| 277 | 277 | \\ mov blink, 0 |
| 278 | 278 | \\ mov r0, sp |