diff --git a/lib/std/start.zig b/lib/std/start.zig index 4c3329a01cbffeb2b9cd5ef595287cfe8d6e23d8..35485a699531159fab2f83418371f9436090cf76 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 =>