authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2024-09-22 10:58:53-04:00
committergravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2024-10-05 10:27:13-04:00
log665d0157d5f333ebc6b353703e77661b11bcac8c
tree22b9f74c575a43e8450ef438e4b9802fb6f5b428
parentf7da960a33828505c91fb2d2f022f8966b6f9cc7
signaturelock-open Commit is signed but in an unrecognized format.

std ppc64: add nop to start inline-asm

fixes ld.lld error: call to save_start.posixCallMainAndExit lacks nop, can't restore toc

1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/start.zig+1
......@@ -391,6 +391,7 @@ fn _start() callconv(.Naked) noreturn {
391391 \\ stdu 0, -32(1)
392392 \\ mtlr 0
393393 \\ b %[posixCallMainAndExit]
394 \\ nop
394395 ,
395396 .s390x =>
396397 // Set up the stack frame (register save area and cleared back-chain slot).