riscv64: don't store both arguments in the same place on the stack.
All the pthread tests are, unsurprisingly, broken without this fix.
Test: treehugger
Change-Id: Ia4c6ac077f3bbd749201ae8d200ec99093f7f4bc
diff --git a/libc/arch-riscv64/bionic/__bionic_clone.S b/libc/arch-riscv64/bionic/__bionic_clone.S
index aeb2da6..d535095 100644
--- a/libc/arch-riscv64/bionic/__bionic_clone.S
+++ b/libc/arch-riscv64/bionic/__bionic_clone.S
@@ -34,7 +34,7 @@
# Push 'fn' and 'arg' onto the child stack.
addi a1, a1, -16
sd a5, 0(a1)
- sd a6, 0(a1)
+ sd a6, 8(a1)
# Make the system call.
li a7, __NR_clone