diff options
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index 015f2c077f..437498d1d8 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -373,8 +373,9 @@ fn _start() callconv(.Naked) noreturn { , .s390x => // Set up the stack frame (register save area and cleared back-chain slot). - // Note: Stack pointer is guaranteed by ABI to be 8-byte aligned as required. \\ lgr %r2, %r15 + \\ lghi %r0, -16 + \\ ngr %r15, %r0 \\ aghi %r15, -160 \\ lghi %r0, 0 \\ stg %r0, 0(%r15) |
