diff --git a/libc/arch-arm/bionic/__bionic_clone.S b/libc/arch-arm/bionic/__bionic_clone.S index 88367484f..6669b93a2 100644 --- a/libc/arch-arm/bionic/__bionic_clone.S +++ b/libc/arch-arm/bionic/__bionic_clone.S @@ -29,7 +29,7 @@ #include // 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) +ENTRY_PRIVATE(__bionic_clone) mov ip, sp # save registers to parent stack stmfd sp!, {r4, r5, r6, r7} @@ -67,4 +67,3 @@ ENTRY(__bionic_clone) pop {r0, r1} b __start_thread END(__bionic_clone) -.hidden __bionic_clone diff --git a/libc/arch-arm64/bionic/__bionic_clone.S b/libc/arch-arm64/bionic/__bionic_clone.S index 27e44e7f7..c3ff0e50c 100644 --- a/libc/arch-arm64/bionic/__bionic_clone.S +++ b/libc/arch-arm64/bionic/__bionic_clone.S @@ -30,7 +30,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) +ENTRY_PRIVATE(__bionic_clone) # Push 'fn' and 'arg' onto the child stack. stp x5, x6, [x1, #-16]! @@ -57,4 +57,3 @@ ENTRY(__bionic_clone) ldp x0, x1, [sp], #16 b __start_thread END(__bionic_clone) -.hidden __bionic_clone diff --git a/libc/arch-mips/bionic/__bionic_clone.S b/libc/arch-mips/bionic/__bionic_clone.S index b216efe4e..a3cacd1b8 100644 --- a/libc/arch-mips/bionic/__bionic_clone.S +++ b/libc/arch-mips/bionic/__bionic_clone.S @@ -31,7 +31,7 @@ #include // 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) +ENTRY_PRIVATE(__bionic_clone) .set noreorder .cpload t9 .set reorder @@ -69,4 +69,3 @@ ENTRY(__bionic_clone) la t9,__set_errno_internal j t9 END(__bionic_clone) -.hidden __bionic_clone diff --git a/libc/arch-x86/bionic/__bionic_clone.S b/libc/arch-x86/bionic/__bionic_clone.S index 1a6f64259..b682b4863 100644 --- a/libc/arch-x86/bionic/__bionic_clone.S +++ b/libc/arch-x86/bionic/__bionic_clone.S @@ -1,7 +1,7 @@ #include // 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) +ENTRY_PRIVATE(__bionic_clone) pushl %ebx .cfi_adjust_cfa_offset 4 .cfi_rel_offset ebx, 0 @@ -62,4 +62,3 @@ ENTRY(__bionic_clone) .cfi_restore ebx ret END(__bionic_clone) -.hidden __bionic_clone diff --git a/libc/arch-x86_64/bionic/__bionic_clone.S b/libc/arch-x86_64/bionic/__bionic_clone.S index 0c73e5fd0..a4245b857 100644 --- a/libc/arch-x86_64/bionic/__bionic_clone.S +++ b/libc/arch-x86_64/bionic/__bionic_clone.S @@ -29,7 +29,7 @@ #include // 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) +ENTRY_PRIVATE(__bionic_clone) # Copy 'fn' and 'arg' onto the child stack. movq %r9, -16(%rsi) # fn movq 8(%rsp), %rax # Read 'arg'. @@ -74,4 +74,3 @@ ENTRY(__bionic_clone) # We're the parent; nothing to do. ret END(__bionic_clone) -.hidden __bionic_clone