about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-16 23:45:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-16 23:45:36 +0200
commit3c799e913168a84197c08e62d47be666329308e0 (patch)
treee69de12db157d4cc6353a2ba3fb3ffc6aa6ebc8d
parent9f2a4fbc3c3265227f1493469ad67a81a786c3b1 (diff)
downloadglibc-3c799e913168a84197c08e62d47be666329308e0.tar.gz
glibc-3c799e913168a84197c08e62d47be666329308e0.tar.xz
glibc-3c799e913168a84197c08e62d47be666329308e0.zip
hurd: Add i386 fields to TLS structure
	* sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add multiple_threads,
	sysinfo, stack_guard, pointer_guard, gscope_flag, private_futex,
	__private_tm, __private_ss fields.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/mach/hurd/i386/tls.h10
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 08e749db61..722770992e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
 	to...
 	* sysdeps/mach/hurd/i386/tls.h: ... here.
+	(tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
+	pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
+	fields.
 
 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index e456b75921..03741cd9fe 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -43,6 +43,16 @@ typedef struct
   void *tcb;			/* Points to this structure.  */
   dtv_t *dtv;			/* Vector of pointers to TLS data.  */
   thread_t self;		/* This thread's control port.  */
+  int multiple_threads;
+  uintptr_t sysinfo;
+  uintptr_t stack_guard;
+  uintptr_t pointer_guard;
+  int gscope_flag;
+  int private_futex;
+  /* Reservation of some values for the TM ABI.  */
+  void *__private_tm[4];
+  /* GCC split stack support.  */
+  void *__private_ss;
 } tcbhead_t;
 #endif