summary refs log tree commit diff
path: root/linuxthreads/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
index 28989eaa14..22e2d86d97 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
+++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S
@@ -31,7 +31,7 @@ ENTRY (__vfork)
 	cmpq	$0, __libc_pthread_functions(%rip)
 #else
 	.weak	__pthread_fork
-	movq	$__pthread_fork, %eax
+	movq	$__pthread_fork, %rax
 	testq	%rax, %rax
 #endif
 	jne	HIDDEN_JUMPTARGET (__fork)