about summary refs log tree commit diff
path: root/nptl/sysdeps/x86_64/tls.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:13:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:13:54 -0700
commit512ec530c7b6f29767bac4ff4c410a9b6390ce1b (patch)
tree7091782b004484faae44e05e57bf364e035487e7 /nptl/sysdeps/x86_64/tls.h
parentc0d2c8538a89c7a3de158ab60fe35fe1f9960803 (diff)
downloadglibc-512ec530c7b6f29767bac4ff4c410a9b6390ce1b.tar.gz
glibc-512ec530c7b6f29767bac4ff4c410a9b6390ce1b.tar.xz
glibc-512ec530c7b6f29767bac4ff4c410a9b6390ce1b.zip
Replace movq/%q0 with mov/%0 in THREAD_SELF
Diffstat (limited to 'nptl/sysdeps/x86_64/tls.h')
-rw-r--r--nptl/sysdeps/x86_64/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index 454c66a4ce..6e80a02eb0 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -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;})