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.10-227-g586fa88
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Jul 2009 16:01:50 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.10-227-g586fa88
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 586fa886ad1473759cddf897691fd3c63a6d2360 (commit)
from 649bf1332071954cbae3e9159708aea1b7c9ae31 (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=586fa886ad1473759cddf897691fd3c63a6d2360
commit 586fa886ad1473759cddf897691fd3c63a6d2360
Author: Ulrich Drepper <drepper@redhat.com>
Date: Wed Jul 29 09:01:04 2009 -0700
Fix x86-64 TCB alignment for future processor versions.
diff --git a/ChangeLog b/ChangeLog
index 081d59b..0273a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,6 @@
2009-07-29 Ulrich Drepper <drepper@redhat.com>
- * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI
- information.
+ * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI.
2009-07-28 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 24fd28a..20031b5 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,9 +1,13 @@
2009-07-29 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/x86_64/tls.h (TLS_TCB_ALIGN): Define explicitly to 32.
+
* sysdeps/x86_64/tls.h (tcbhead_t): Add room for SSE registers the
- dynamic linker might have to save. Define RTLD_CHECK_FOREIGN_CALL,
- RTLD_ENABLE_FOREIGN_CALL, RTLD_PREPARE_FOREIGN_CALL, and
- RTLD_FINALIZE_FOREIGN_CALL. Pretty printing.
+ dynamic linker might have to save.
+ Define RTLD_CHECK_FOREIGN_CALL, RTLD_ENABLE_FOREIGN_CALL,
+ RTLD_PREPARE_FOREIGN_CALL, and RTLD_FINALIZE_FOREIGN_CALL. Pretty
+ printing.
+
* sysdeps/x86_64/tcb-offsets.sym: Add RTLD_SAVESPACE_SSE.
2009-07-28 Ulrich Drepper <drepper@redhat.com>
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index a51b770..4212038 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -117,7 +117,12 @@ typedef struct
# define TLS_TCB_SIZE sizeof (struct pthread)
/* Alignment requirements for the TCB. */
-# define TLS_TCB_ALIGN __alignof__ (struct pthread)
+//# define TLS_TCB_ALIGN __alignof__ (struct pthread)
+// Normally the above would be correct But we have to store post-AVX
+// vector registers in the TCB and we want the storage to be aligned.
+// unfortunately there isn't yet a type for these values and hence no
+// 32-byte alignment requirement. Make this explicit, for now.
+# define TLS_TCB_ALIGN 32
/* The TCB can have any size and the memory following the address the
thread pointer points to is unspecified. Allocate the TCB there. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +--
nptl/ChangeLog | 10 +++++++---
nptl/sysdeps/x86_64/tls.h | 7 ++++++-
3 files changed, 14 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources