| author | |
| committer | |
| log | fff5ce053fcfaf0cf3fea815b4c50c000036ff5b |
| tree | 2b346ec656fdb16308ac6f34699aaad481532288 |
| parent | ebefee608810d947fb9a17e853acd30dc619cb88 |
| signature |
The kernel does this as required, but we cannot trust dynamic linkers to do it.1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/start.zig+3| ... | ... | @@ -378,6 +378,9 @@ fn _start() callconv(.Naked) noreturn { |
| 378 | 378 | // (2047 bytes). |
| 379 | 379 | \\ mov %%g0, %%fp |
| 380 | 380 | \\ add %%sp, 2175, %%o0 |
| 381 | \\ add %%sp, 2047, %%sp | |
| 382 | \\ and %%sp, -16, %%sp | |
| 383 | \\ sub %%sp, 2047, %%sp | |
| 381 | 384 | \\ ba,a %[posixCallMainAndExit] |
| 382 | 385 | , |
| 383 | 386 | else => @compileError("unsupported arch"), |