| ... | @@ -366,7 +366,11 @@ fn _start() callconv(.naked) noreturn { | ... | @@ -366,7 +366,11 @@ fn _start() callconv(.naked) noreturn { |
| 366 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle | 366 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle |
| 367 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) | 367 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) |
| 368 | \\ suba.l %%fp, %%fp | 368 | \\ suba.l %%fp, %%fp |
| 369 | \\ move.l %%sp, -(%%sp) | 369 | \\ move.l %%sp, %%a0 |
| | 370 | \\ move.l %%a0, %%d0 |
| | 371 | \\ and.l #-4, %%d0 |
| | 372 | \\ move.l %%d0, %%sp |
| | 373 | \\ move.l %%a0, -(%%sp) |
| 370 | \\ lea %[posixCallMainAndExit] - . - 8, %%a0 | 374 | \\ lea %[posixCallMainAndExit] - . - 8, %%a0 |
| 371 | \\ jsr (%%pc, %%a0) | 375 | \\ jsr (%%pc, %%a0) |
| 372 | , | 376 | , |