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 hurd: Avoid some PLTs in libc and librt 2018-04-02 19:07:52 +00:00
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 hurd: Reimplement libc locks using mach's gsync 2018-03-18 18:23:45 +01:00
lowlevellock.h hurd: Code style fixes 2018-03-20 03:00:39 +01:00
mach_error.c
mach_error.h
mach_init.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mach_init.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mach.h hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
Machrules hurd: Avoid using ino64_t and loff_t in headers 2018-03-04 02:13:56 +01:00
Makefile hurd: Avoid PLT references to syscalls 2018-06-16 02:50:36 +02:00
mig_strncpy.c
mig-alloc.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mig-dealloc.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mig-reply.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
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 Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mutex-init.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
mutex-solid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
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 Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
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