From dc169ff2b5183471110f84103c11c59f56309210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 8 Aug 2026 02:53:14 +0200 Subject: [PATCH] std.start: fix stack alignment in mips n32 _start assembly It should be 16 for both N64 and N32; only O32 uses 8. --- lib/std/start.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/start.zig b/lib/std/start.zig index cef9f81dc13832ddd109004141bafa2e3e579c72..9e8ea47877453d7e7b079b2cbddb430c1e8a67af 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -401,7 +401,7 @@ fn _start() callconv(.naked) noreturn { \\ addu $t9, $t9, $gp \\ move $ra, $zero \\ move $a0, $sp - \\ and $sp, -8 + \\ and $sp, -16 \\ subu $sp, $sp, 16 \\ jalr $t9 , -- 2.54.0