mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 22:09:49 +00:00
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:
parent
f7da960a33
commit
665d0157d5
@ -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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user