| ... | ... | @@ -328,7 +328,7 @@ fn _start() callconv(.Naked) noreturn { |
| 328 | 328 | \\ andi sp, sp, -16 |
| 329 | 329 | \\ tail %[posixCallMainAndExit]@plt |
| 330 | 330 | , |
| 331 | | // zig fmt: off |
| 331 | // zig fmt: on |
| 332 | 332 | .m68k => |
| 333 | 333 | // Note that the - 8 is needed because pc in the jsr instruction points into the middle |
| 334 | 334 | // of the jsr instruction. (The lea is 6 bytes, the jsr is 4 bytes.) |
| ... | ... | @@ -426,7 +426,7 @@ fn _start() callconv(.Naked) noreturn { |
| 426 | 426 | else => @compileError("unsupported arch"), |
| 427 | 427 | } |
| 428 | 428 | : |
| 429 | | : [_start] "X" (_start), |
| 429 | : [_start] "X" (&_start), |
| 430 | 430 | [posixCallMainAndExit] "X" (&posixCallMainAndExit), |
| 431 | 431 | ); |
| 432 | 432 | } |