| ... | ... | @@ -340,8 +340,8 @@ fn _start() callconv(.Naked) noreturn { |
| 340 | 340 | , |
| 341 | 341 | .powerpc64, .powerpc64le => |
| 342 | 342 | // Setup the initial stack frame and clear the back chain pointer. |
| 343 | | \\ addis 2, 12, .TOC. - _start@ha |
| 344 | | \\ addi 2, 2, .TOC. - _start@l |
| 343 | \\ addis 2, 12, .TOC. - %[_start]@ha |
| 344 | \\ addi 2, 2, .TOC. - %[_start]@l |
| 345 | 345 | \\ mr 3, 1 |
| 346 | 346 | \\ clrrdi 1, 1, 4 |
| 347 | 347 | \\ li 0, 0 |
| ... | ... | @@ -359,7 +359,8 @@ fn _start() callconv(.Naked) noreturn { |
| 359 | 359 | else => @compileError("unsupported arch"), |
| 360 | 360 | } |
| 361 | 361 | : |
| 362 | | : [posixCallMainAndExit] "X" (&posixCallMainAndExit), |
| 362 | : [_start] "X" (_start), |
| 363 | [posixCallMainAndExit] "X" (&posixCallMainAndExit), |
| 363 | 364 | ); |
| 364 | 365 | } |
| 365 | 366 | |