summaryrefslogtreecommitdiff
path: root/.topmsg
diff options
context:
space:
mode:
Diffstat (limited to '.topmsg')
-rw-r--r--.topmsg16
1 files changed, 11 insertions, 5 deletions
diff --git a/.topmsg b/.topmsg
index 6f7e3b13b6..38bf5ea403 100644
--- a/.topmsg
+++ b/.topmsg
@@ -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.