authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-08 02:53:14+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-09 16:56:23+02:00
logdc169ff2b5183471110f84103c11c59f56309210
tree4530ef2f3868ae8d1cce64b09e85434d5c10b6fc
parent9ca1d1e6b1e7eef01f59703f10d7d4dcb10dfcfa
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.start: fix stack alignment in mips n32 _start assembly

It should be 16 for both N64 and N32; only O32 uses 8.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/start.zig+1-1
...@@ -401,7 +401,7 @@ fn _start() callconv(.naked) noreturn {...@@ -401,7 +401,7 @@ fn _start() callconv(.naked) noreturn {
401 \\ addu $t9, $t9, $gp401 \\ addu $t9, $t9, $gp
402 \\ move $ra, $zero402 \\ move $ra, $zero
403 \\ move $a0, $sp403 \\ move $a0, $sp
404 \\ and $sp, -8404 \\ and $sp, -16
405 \\ subu $sp, $sp, 16405 \\ subu $sp, $sp, 16
406 \\ jalr $t9406 \\ jalr $t9
407 ,407 ,