This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-352-g620f3d2
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Sep 2012 16:11:40 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-352-g620f3d2
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 620f3d26702ceff24c9d3432ea69ece893247d24 (commit)
from ced6f16ee919d12725840d43d007f1cfd67118df (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=620f3d26702ceff24c9d3432ea69ece893247d24
commit 620f3d26702ceff24c9d3432ea69ece893247d24
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Sep 24 09:11:12 2012 -0700
Add "()" when casting to uint64_t for 64-bit store
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index ebb9048..f2fded0 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/tls.h (THREAD_SETMEM): Add "()" when casting
+ to uint64_t for 64-bit store.
+ (THREAD_SETMEM_NC): Likewise.
+
2012-09-19 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/tls.h (THREAD_SETMEM): Cast to uint64_t for
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index f838916..b651d1c 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -256,7 +256,7 @@ typedef struct
abort (); \
\
asm volatile ("movq %q0,%%fs:%P1" : \
- : IMM_MODE ((uint64_t) value), \
+ : IMM_MODE ((uint64_t) (value)), \
"i" (offsetof (struct pthread, member))); \
}})
@@ -281,7 +281,7 @@ typedef struct
abort (); \
\
asm volatile ("movq %q0,%%fs:%P1(,%q2,8)" : \
- : IMM_MODE ((uint64_t) value), \
+ : IMM_MODE ((uint64_t) (value)), \
"i" (offsetof (struct pthread, member[0])), \
"r" (idx)); \
}})
-----------------------------------------------------------------------
Summary of changes:
nptl/ChangeLog | 6 ++++++
nptl/sysdeps/x86_64/tls.h | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources