| author | |
| committer | |
| log | 714e7433930e68698b1e33c1de13dc5514cd5a77 |
| tree | 4b779587e0dd539a7f93f1a4ff112f6d290a51b8 |
| parent | 9771390f8980ef455cd0113840556e58ebea4ba1 |
| signature |
The kernel does this as required, but we cannot trust dynamic linkers to do it.1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/start.zig+1| ... | ... | @@ -297,6 +297,7 @@ fn _start() callconv(.Naked) noreturn { |
| 297 | 297 | \\ mov fp, #0 |
| 298 | 298 | \\ mov lr, #0 |
| 299 | 299 | \\ mov x0, sp |
| 300 | \\ and sp, x0, #-16 | |
| 300 | 301 | \\ b %[posixCallMainAndExit] |
| 301 | 302 | , |
| 302 | 303 | .arm, .armeb, .thumb, .thumbeb => |