]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Replace movq/%q0 with mov/%0 in THREAD_SELF
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 17:13:54 +0000 (10:13 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 17:13:54 +0000 (10:13 -0700)
nptl/ChangeLog
nptl/sysdeps/x86_64/tls.h

index a135ce02cb1d63295db11308742ca5efbef23113..752cde97f8b6b1e00b629ad1e4da2ed820d08489 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/tls.h (THREAD_SELF): Replace movq/%q0 with
+       mov/%0.
+
 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
index 454c66a4cec79ab7eb1c537fcaeff4ebab1fe158..6e80a02eb0a0c308903cca53a800c3a050ac5d0f 100644 (file)
@@ -174,7 +174,7 @@ typedef struct
    do not get optimized away.  */
 # define THREAD_SELF \
   ({ struct pthread *__self;                                                 \
-     asm ("movq %%fs:%c1,%q0" : "=r" (__self)                                \
+     asm ("mov %%fs:%c1,%0" : "=r" (__self)                                  \
          : "i" (offsetof (struct pthread, header.self)));                    \
      __self;})