diff --git a/lib/std/start.zig b/lib/std/start.zig index 4c3329a01c..35485a6995 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -297,6 +297,7 @@ fn _start() callconv(.Naked) noreturn { \\ mov fp, #0 \\ mov lr, #0 \\ mov x0, sp + \\ and sp, x0, #-16 \\ b %[posixCallMainAndExit] , .arm, .armeb, .thumb, .thumbeb =>