glibc/mach
Samuel Thibault 42fc12ef73 hurd: Fix exec usage of mach_setup_thread
Exec needs that mach_setup_thread does *not* set up TLS since it works on
another task, so we have to split this into mach_setup_tls.

	* mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
	* mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
	(__mach_setup_tls): ... new function.
	(mach_setup_tls): New alias.
	* hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
	__mach_setup_thread.
	* sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
	* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
	* mach/Versions [libc] (mach_setup_tls): Add symbol.
	* sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
2018-08-01 00:10:03 +02:00
..
mach hurd: Avoid PLTs for __mach_thread_self and __mach_reply_port 2018-06-14 01:01:57 +02:00
devstream.c
err_boot.sub
err_ipc.sub
err_kern.sub
err_mach.sub
err_server.sub
err_us.sub
error_compat.c
errorlib.h
errstring.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
errsystems.awk
lock-intern.h
lowlevellock.h
mach_error.c
mach_error.h
mach_init.c
mach_init.h
mach.h hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
Machrules
Makefile hurd: Avoid PLT references to syscalls 2018-06-16 02:50:36 +02:00
mig_strncpy.c
mig-alloc.c
mig-dealloc.c
mig-reply.c
msg-destroy.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
msg.c hurd: Avoid PLT ref to __mach_msg 2018-06-16 02:50:30 +02:00
msgserver.c
mutex-init.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
mutex-solid.c
setup-thread.c hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
shortcut.awk hurd: Avoid PLT references to shortcuts 2018-06-16 02:48:41 +02:00
spin-lock.c hurd: Add missing symbols 2018-04-04 02:17:49 +02:00
spin-lock.h
spin-solid.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
stack_chk_fail_local.c
syscalls.awk
Versions hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00