| ... | ... | @@ -307,6 +307,14 @@ fn _start() callconv(.Naked) noreturn { |
| 307 | 307 | \\ andi sp, sp, -16 |
| 308 | 308 | \\ tail %[posixCallMainAndExit]@plt |
| 309 | 309 | , |
| 310 | .m68k => |
| 311 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle |
| 312 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) |
| 313 | \\ suba.l %%fp, %%fp |
| 314 | \\ move.l %%sp, -(%%sp) |
| 315 | \\ lea %[posixCallMainAndExit] - . - 8, %%a0 |
| 316 | \\ jsr (%%pc, %%a0) |
| 317 | , |
| 310 | 318 | .mips, .mipsel => |
| 311 | 319 | // The lr is already zeroed on entry, as specified by the ABI. |
| 312 | 320 | \\ addiu $fp, $zero, 0 |