aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
index 22e2d86d97..9198c514d9 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
+++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
@@ -30,8 +30,8 @@ ENTRY (__vfork)
#ifdef SHARED
cmpq $0, __libc_pthread_functions(%rip)
#else
- .weak __pthread_fork
- movq $__pthread_fork, %rax
+ .weak pthread_create
+ movq $pthread_create, %rax
testq %rax, %rax
#endif
jne HIDDEN_JUMPTARGET (__fork)