aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parent9f2a4fbc3c3265227f1493469ad67a81a786c3b1 (diff)
downloadglibc-3c799e913168a84197c08e62d47be666329308e0.zip
glibc-3c799e913168a84197c08e62d47be666329308e0.tar.gz
glibc-3c799e913168a84197c08e62d47be666329308e0.tar.bz2
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/i386/tls.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index e456b75..03741cd 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