diff options
Diffstat (limited to '.topmsg')
-rw-r--r-- | .topmsg | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,10 +1,14 @@ -From: Thomas Schwinge <thomas@schwinge.name> -Subject: [PATCH] tls +COMMITED -TLS support. +From: Samuel Thibault <samuel.thibault@gnu.org> +Subject: [PATCH] hurd: add TLS support 2009-07-30 Samuel Thibault <samuel.thibault@gnu.org> + Add TLS support: __mach_setup_tls allocates and sets + architecture state for the TLS area. i386 fork needs to + propagate the segment kernel definitions. + * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC - 0]: Include <tls.h> * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h> * include/errno.h (__GNU__): Do not define TLS errno for now. @@ -21,8 +25,10 @@ TLS support. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use i386_REGS_SEGS_STATE instead of i386_THREAD_STATE. - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use kern_return_t - error type. Use first GDT slot, 0x48. + * sysdeps/mach/hurd/i386/tls.h (__i386_selector_is_ldt): New + macro. + (_hurd_tls_init): Use kern_return_t error type. Use + __i386_selector_is_ldt to test for LDT segment type. (_hurd_tls_fork): Use kern_return_t error type. Duplicate existing LDT descriptor instead of creating a new one. (_hurd_tls_new): New function, creates a new descriptor and updates tcb. |