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.
This commit is contained in:
Samuel Thibault 2014-04-16 23:45:36 +02:00
parent 9f2a4fbc3c
commit 3c799e9131
2 changed files with 13 additions and 0 deletions

View File

@ -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>

View File

@ -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