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
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
Versions hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
devstream.c hurd: Avoid some PLTs in libc and librt 2018-04-02 19:07:52 +00:00
err_boot.sub Remove trailing whitespace from mach/*.sub. 2013-06-10 22:47:08 +00:00
err_ipc.sub Remove trailing whitespace from mach/*.sub. 2013-06-10 22:47:08 +00:00
err_kern.sub * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
err_mach.sub Remove trailing whitespace from mach/*.sub. 2013-06-10 22:47:08 +00:00
err_server.sub * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
err_us.sub * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
error_compat.c * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
errorlib.h * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
errstring.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
errsystems.awk * mach/errsystems.awk: Include <errno.h> in generated output. 2003-02-16 03:55:27 +00:00
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.h hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
mach_error.c mach: Fix old-style function definition. 2016-09-20 23:10:51 +02:00
mach_error.h * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
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
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
mig_strncpy.c initial import 1995-02-18 01:27:10 +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 hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
syscalls.awk initial import 1995-02-18 01:27:10 +00:00