PATCH: Load pointer to TID into R10_LP.
H.J. Lu
hongjiu.lu@intel.com
Tue May 15 14:36:00 GMT 2012
Hi,
This patch loads pointer to TID into R10_LP in clone.S. Tested on
Linux/x86-64 and Linux/x32. OK to install?
Thanks.
H.J.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
into R10_LP.
diff --git a/sysdeps/unix/sysv/linux/x86_64/clone.S b/sysdeps/unix/sysv/linux/x86_64/clone.S
index 7b82217..6bcb542 100644
--- a/sysdeps/unix/sysv/linux/x86_64/clone.S
+++ b/sysdeps/unix/sysv/linux/x86_64/clone.S
@@ -72,7 +72,7 @@ ENTRY (BP_SYM (__clone))
movq %rdx, %rdi
movq %r8, %rdx
movq %r9, %r8
- movq 8(%rsp), %r10
+ mov 8(%rsp), %R10_LP
movl $SYS_ify(clone),%eax
/* End FDE now, because in the child the unwind info will be
--
1.7.6.5
More information about the Libc-alpha
mailing list