glibc/sysdeps/mach/hurd/x86_64
Sergey Bugaev 8e78a2e1d1 hurd: Don't migrate reply port into __init1_tcbhead
Properly differentiate between setting up the real TLS with
TLS_INIT_TP, and setting up the early TLS (__init1_tcbhead) in static
builds. In the latter case, don't yet migrate the reply port into the
TCB, and don't yet set __libc_tls_initialized to 1.

This also lets us move the __init1_desc assignment inside
_hurd_tls_init ().

Fixes cd019ddd89
"hurd: Don't leak __hurd_reply_port0"

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
2023-04-21 03:02:04 +02:00
..
bits hurd: Add sys/ucontext.h and sigcontext.h for x86_64 2023-04-10 20:11:43 +02:00
htl htl: Implement thread_set_pcsptp for x86_64 2023-04-03 01:18:27 +02:00
dl-tls-initialized.c hurd: Only check for TLS initialization inside rtld or in static builds 2023-04-14 10:31:22 +00:00
Implies hurd: Set up the basic tree for x86_64-gnu 2023-02-12 16:12:06 +01:00
intr-msg.h hurd: Implement x86_64/intr-msg.h 2023-04-10 20:39:28 +02:00
longjmp-ts.c hurd: Implement _hurd_longjmp_thread_state for x86_64 2023-04-03 01:23:30 +02:00
static-start.S hurd, htl: Add some x86_64-specific code 2023-02-12 16:35:03 +01:00
tls.h hurd: Don't migrate reply port into __init1_tcbhead 2023-04-21 03:02:04 +02:00
tlsdesc.sym hurd, htl: Add some x86_64-specific code 2023-02-12 16:35:03 +01:00
ucontext_i.sym hurd: Add sys/ucontext.h and sigcontext.h for x86_64 2023-04-10 20:11:43 +02:00
vm_param.h hurd: Add vm_param.h for x86_64 2023-04-03 01:24:13 +02:00