summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic/__bionic_clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/bionic/__bionic_clone.S')
-rw-r--r--libc/arch-arm/bionic/__bionic_clone.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/arch-arm/bionic/__bionic_clone.S b/libc/arch-arm/bionic/__bionic_clone.S
index 7b76f5e..72f4892 100644
--- a/libc/arch-arm/bionic/__bionic_clone.S
+++ b/libc/arch-arm/bionic/__bionic_clone.S
@@ -31,6 +31,7 @@
// pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg);
ENTRY(__bionic_clone)
mov ip, sp
+ .save {r4, r5, r6, r7}
# save registers to parent stack
stmfd sp!, {r4, r5, r6, r7}
.cfi_def_cfa_offset 16