about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-27 22:18:15 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-27 22:18:15 +0000
commited1e38d8c21a78b0a031aaf8824511ebd1cd96ee (patch)
tree4c8d921992b20b34135324147e191b6630948981
parentcda77167e5e6f7f80faa500f096ae98a0ab378b8 (diff)
downloadglibc-ed1e38d8c21a78b0a031aaf8824511ebd1cd96ee.tar.gz
glibc-ed1e38d8c21a78b0a031aaf8824511ebd1cd96ee.tar.xz
glibc-ed1e38d8c21a78b0a031aaf8824511ebd1cd96ee.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 a3ba15dc8d..47ea82ff5d 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 a008f29055..90a3e0bf3d 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__ */