From: H.J. Lu Date: Fri, 11 May 2012 17:13:54 +0000 (-0700) Subject: Replace movq/%q0 with mov/%0 in THREAD_SELF X-Git-Tag: glibc-2.16-tps~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=512ec530c7b6f29767bac4ff4c410a9b6390ce1b;p=thirdparty%2Fglibc.git Replace movq/%q0 with mov/%0 in THREAD_SELF --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index a135ce02cb1..752cde97f8b 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2012-05-11 H.J. Lu + + * sysdeps/x86_64/tls.h (THREAD_SELF): Replace movq/%q0 with + mov/%0. + 2012-05-11 H.J. Lu * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h index 454c66a4cec..6e80a02eb0a 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;})