aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:15:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:15:35 -0700
commitf6ee66232293f1bc0c83d04ffcb7b1d669dc15d0 (patch)
treebcb9d4de9bd6fb6641a0e50d8ea6e7e294d49f4f
parentea2626f67516f1f171ef81771818b4a2dc9a368b (diff)
downloadglibc-f6ee66232293f1bc0c83d04ffcb7b1d669dc15d0.tar
glibc-f6ee66232293f1bc0c83d04ffcb7b1d669dc15d0.tar.gz
glibc-f6ee66232293f1bc0c83d04ffcb7b1d669dc15d0.tar.bz2
glibc-f6ee66232293f1bc0c83d04ffcb7b1d669dc15d0.zip
Load pointer to TID into R10_LP
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/clone.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 477b44bc8a..c9db2b9dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
+ into R10_LP.
+
+2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
+
* sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/sysdeps/unix/sysv/linux/x86_64/clone.S b/sysdeps/unix/sysv/linux/x86_64/clone.S
index 7b82217d37..6bcb542e77 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