diff --git a/libc/arch-arm64/bionic/futex_arm64.S b/libc/arch-arm64/bionic/futex_arm64.S index d452771ee..5a478261a 100644 --- a/libc/arch-arm64/bionic/futex_arm64.S +++ b/libc/arch-arm64/bionic/futex_arm64.S @@ -51,7 +51,7 @@ ENTRY(__futex_syscall3) END(__futex_syscall3) // int __futex_wait(volatile void* ftx, int val, const struct timespec* timeout) -ENTRY(__futex_wait) +ENTRY_PRIVATE(__futex_wait) stp x29, x30, [sp, #-16]! mov x29, sp @@ -69,7 +69,7 @@ ENTRY(__futex_wait) END(__futex_wait) // int __futex_wake(volatile void* ftx, int count) -ENTRY(__futex_wake) +ENTRY_PRIVATE(__futex_wake) stp x29, x30, [sp, #-16]! mov x29, sp diff --git a/libc/arch-x86_64/bionic/futex_x86_64.S b/libc/arch-x86_64/bionic/futex_x86_64.S index f85d583bd..25cdf1bb5 100644 --- a/libc/arch-x86_64/bionic/futex_x86_64.S +++ b/libc/arch-x86_64/bionic/futex_x86_64.S @@ -32,7 +32,7 @@ #define FUTEX_WAKE 1 // int __futex_wait(volatile void* ftx, int val, const struct timespec* timeout) -ENTRY(__futex_wait) +ENTRY_PRIVATE(__futex_wait) mov %rdx, %r10 /* timeout */ mov %esi, %edx /* val */ mov $FUTEX_WAIT, %esi /* op */ @@ -42,7 +42,7 @@ ENTRY(__futex_wait) END(__futex_wait) // int __futex_wake(volatile void* ftx, int count) -ENTRY(__futex_wake) +ENTRY_PRIVATE(__futex_wake) mov %esi, %edx mov $FUTEX_WAKE, %esi mov $__NR_futex, %eax