summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/bionic/__bionic_clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/bionic/__bionic_clone.S')
-rw-r--r--libc/arch-arm64/bionic/__bionic_clone.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/arch-arm64/bionic/__bionic_clone.S b/libc/arch-arm64/bionic/__bionic_clone.S
index 76fe24e..74db4b5 100644
--- a/libc/arch-arm64/bionic/__bionic_clone.S
+++ b/libc/arch-arm64/bionic/__bionic_clone.S
@@ -31,12 +31,6 @@
// 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)
- stp x29, x30, [sp, #-16]!
- .cfi_def_cfa_offset 16
- .cfi_rel_offset x29, 0
- .cfi_rel_offset x30, 8
- mov x29, sp
-
# Copy 'fn' and 'arg' onto the child stack.
stp x5, x6, [x1, #-16]
@@ -47,11 +41,6 @@ ENTRY(__bionic_clone)
# Are we the child?
cbz x0, .L_bc_child
- ldp x29, x30, [sp], #16
- .cfi_def_cfa_offset 0
- .cfi_restore x29
- .cfi_restore x30
-
# Set errno if something went wrong.
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi