mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
musl: Align the stack pointer given to clone() on riscv.
This commit is contained in:
+2
@@ -7,6 +7,8 @@
|
||||
.global __clone
|
||||
.type __clone, %function
|
||||
__clone:
|
||||
andi a1, a1, -16
|
||||
|
||||
# Save func and arg to stack
|
||||
addi a1, a1, -16
|
||||
sw a0, 0(a1)
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
.global __clone
|
||||
.type __clone, %function
|
||||
__clone:
|
||||
andi a1, a1, -16
|
||||
|
||||
# Save func and arg to stack
|
||||
addi a1, a1, -16
|
||||
sd a0, 0(a1)
|
||||
|
||||
Reference in New Issue
Block a user