glibc/sysdeps
Samuel Thibault f8baf2a224 hurd: add TLS support
* sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
	Define macro.
	* sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
	* sysdeps/mach/i386/thread_state.h
	(MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
	i386_THREAD_STATE.
	(MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
	i386_THREAD_STATE.
	(MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.

	* 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 (TCB_ALIGNMENT, HURD_SEL_LDT): New
	macros.
	(_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
	descriptor instead of creating a new one.
	(_hurd_tls_new): New function, creates a new descriptor and updates tcb.

	* mach/setup-thread.c: Include <ldsodefs.h>.
	(__mach_setup_thread): Call _dl_allocate_tls, pass
	MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
	MACHINE_THREAD_STATE_FLAVOR, before getting
	MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
	MACHINE_THREAD_STATE_FLAVOR with the result.
	* hurd/hurdfault.c (_hurdsig_fault_init): Call
	MACHINE_THREAD_STATE_FIX_NEW.
	* sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
	too.  Add original thread parameter.
2018-03-17 03:17:36 +01:00
..
aarch64 Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00
alpha Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00
arm hurd: add gscope support 2018-03-11 13:06:33 +01:00
generic hurd: add TLS support 2018-03-17 03:17:36 +01:00
gnu Add TCP_FASTOPEN_KEY, TCP_FASTOPEN_NO_COOKIE from Linux 4.15. 2018-02-06 00:42:22 +00:00
hppa hurd: add gscope support 2018-03-11 13:06:33 +01:00
i386 Update i386 libm-test-ulps. 2018-03-16 17:43:38 +00:00
ia64 hurd: add gscope support 2018-03-11 13:06:33 +01:00
ieee754 Rename all __ieee754_sqrt(f/l) calls to sqrt(f/l) 2018-03-15 19:21:36 +00:00
init_array sysdeps/init_array: Add PREINIT_FUNCTION to crti.S 2018-01-29 10:22:26 -08:00
m68k Revert m68k __ieee754_sqrt change 2018-03-16 14:25:41 +00:00
mach hurd: add TLS support 2018-03-17 03:17:36 +01:00
microblaze hurd: add gscope support 2018-03-11 13:06:33 +01:00
mips hurd: add gscope support 2018-03-11 13:06:33 +01:00
nios2 hurd: add gscope support 2018-03-11 13:06:33 +01:00
nptl Refactor Linux ARCH_FORK implementation 2018-03-07 17:39:40 -03:00
posix Add missing start-of-file descriptive comment. 2018-03-06 09:21:04 +01:00
powerpc Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00
pthread hurd: fix timer_routines.c build 2018-02-27 01:15:39 +01:00
riscv hurd: add gscope support 2018-03-11 13:06:33 +01:00
s390 Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00
sh hurd: add gscope support 2018-03-11 13:06:33 +01:00
sparc Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00
tile hurd: add gscope support 2018-03-11 13:06:33 +01:00
unix alpha/clone.S: Invoke .set noat/.set at around explicit uses of $at 2018-03-10 15:17:18 -05:00
wordsize-32 Use libc_hidden_* for strtoumax (bug 15105). 2018-02-28 14:16:21 +00:00
wordsize-64 Use libc_hidden_* for strtoumax (bug 15105). 2018-02-28 14:16:21 +00:00
x86 Remove sysdeps/x86/fpu/bits/mathinline.h __finite inline. 2018-03-16 18:36:53 +00:00
x86_64 Remove all target specific __ieee754_sqrt(f/l) inlines 2018-03-15 19:21:36 +00:00