std ppc64: add nop to start inline-asm

fixes ld.lld error: call to save_start.posixCallMainAndExit lacks nop, can't restore toc
This commit is contained in:
Michael Dusan 2024-09-22 10:58:53 -04:00
parent f7da960a33
commit 665d0157d5
No known key found for this signature in database
GPG Key ID: ED4C5BA849FA1B74

View File

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