From: Samuel Thibault Date: Wed, 16 Apr 2014 21:45:36 +0000 (+0200) Subject: hurd: Add i386 fields to TLS structure X-Git-Tag: upstream/2.30~7619 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c799e913168a84197c08e62d47be666329308e0;p=external%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 08e749d..7227709 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 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