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-14 20:58:24 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-14 20:58:24 -0700
commit2949684c162a4413e42249d6b2ad554cb468b5be (patch)
tree9a6a0ac2ffe912e9ab787a08eedb95bc7ecf6e6a /nptl/sysdeps/x86_64/tls.h
parent6cdef1ab3666b1a0e9c5b3892970bd2fc8211bf8 (diff)
downloadglibc-2949684c162a4413e42249d6b2ad554cb468b5be.tar.gz
glibc-2949684c162a4413e42249d6b2ad554cb468b5be.tar.xz
glibc-2949684c162a4413e42249d6b2ad554cb468b5be.zip
Add x32 support to tcbhead_t
Diffstat (limited to 'nptl/sysdeps/x86_64/tls.h')
-rw-r--r--nptl/sysdeps/x86_64/tls.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index 77f04f2029..f838916058 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -27,7 +27,6 @@
 # include <stdlib.h>
 # include <sysdep.h>
 # include <kernel-features.h>
-# include <bits/wordsize.h>
 # include <xmmintrin.h>
 
 
@@ -60,18 +59,14 @@ typedef struct
 # else
   int __unused1;
 # endif
-# if __WORDSIZE == 64
   int rtld_must_xmm_save;
-# endif
   /* Reservation of some values for the TM ABI.  */
   void *__private_tm[5];
-# if __WORDSIZE == 64
   long int __unused2;
   /* Have space for the post-AVX register size.  */
-  __m128 rtld_savespace_sse[8][4];
+  __m128 rtld_savespace_sse[8][4] __attribute__ ((aligned (32)));
 
   void *__padding[8];
-# endif
 } tcbhead_t;
 
 #else /* __ASSEMBLER__ */