| ... | @@ -355,7 +355,11 @@ fn _start() callconv(.naked) noreturn { | ... | @@ -355,7 +355,11 @@ fn _start() callconv(.naked) noreturn { |
| 355 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle | 355 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle |
| 356 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) | 356 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) |
| 357 | \\ suba.l %%fp, %%fp | 357 | \\ suba.l %%fp, %%fp |
| 358 | \\ move.l %%sp, -(%%sp) | 358 | \\ move.l %%sp, %%a0 |
| | 359 | \\ move.l %%a0, %%d0 |
| | 360 | \\ and.l #-4, %%d0 |
| | 361 | \\ move.l %%d0, %%sp |
| | 362 | \\ move.l %%a0, -(%%sp) |
| 359 | \\ lea %[posixCallMainAndExit] - . - 8, %%a0 | 363 | \\ lea %[posixCallMainAndExit] - . - 8, %%a0 |
| 360 | \\ jsr (%%pc, %%a0) | 364 | \\ jsr (%%pc, %%a0) |
| 361 | , | 365 | , |