about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-27 22:16:43 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-27 22:16:43 +0000
commit78a2b0ca2e6d454eb2882ba0f7e74d58dce579dc (patch)
tree68030b89665ca6637ac6121b34e5dc5d11a0ca5e
parent13a4ee0bb4ccb6691729bde67233f5ca66209c7c (diff)
downloadglibc-78a2b0ca2e6d454eb2882ba0f7e74d58dce579dc.tar.gz
glibc-78a2b0ca2e6d454eb2882ba0f7e74d58dce579dc.tar.xz
glibc-78a2b0ca2e6d454eb2882ba0f7e74d58dce579dc.zip
2007-07-27 Jakub Jelinek <jakub@redhat.com>
	* sysdeps/sparc/tls.h (tcbhead_t): Move gscope_flag to the end
	of the structure for sparc32.

2007-07-26  Aurelien Jarno  <aurelien@aurel32.net>

	* sysdeps/sparc/tls.h (tcbhead_t): Add gscope_flag.
-rw-r--r--nptl/ChangeLog9
-rw-r--r--nptl/sysdeps/sparc/tls.h6
2 files changed, 15 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 88c3210a69..2ebb299ad1 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,12 @@
+2007-07-27  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/sparc/tls.h (tcbhead_t): Move gscope_flag to the end
+	of the structure for sparc32.
+
+2007-07-26  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/sparc/tls.h (tcbhead_t): Add gscope_flag.
+
 2007-06-22  Jakub Jelinek  <jakub@redhat.com>
 
 	* pthread_getattr_np.c (pthread_getattr_np): Clear cpuset and
diff --git a/nptl/sysdeps/sparc/tls.h b/nptl/sysdeps/sparc/tls.h
index 60e52fd4ea..53b5eee089 100644
--- a/nptl/sysdeps/sparc/tls.h
+++ b/nptl/sysdeps/sparc/tls.h
@@ -46,9 +46,15 @@ typedef struct
   dtv_t *dtv;
   void *self;
   int multiple_threads;
+#if __WORDSIZE == 64
+  int gscope_flag;
+#endif
   uintptr_t sysinfo;
   uintptr_t stack_guard;
   uintptr_t pointer_guard;
+#if __WORDSIZE != 64
+  int gscope_flag;
+#endif
 } tcbhead_t;
 
 #else /* __ASSEMBLER__ */