diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-12-28 10:15:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-12-28 10:15:52 +0100 |
commit | 2ce0481d26066b7d4e2c950da555a7ca20e313fb (patch) | |
tree | 107a3a13e10f667b0a6a87afd8496ff8b451bf27 /sysdeps/mach/hurd/i386 | |
parent | 7b358de1af5473217fa1cee3838997add91c8311 (diff) | |
download | glibc-2ce0481d26066b7d4e2c950da555a7ca20e313fb.zip glibc-2ce0481d26066b7d4e2c950da555a7ca20e313fb.tar.gz glibc-2ce0481d26066b7d4e2c950da555a7ca20e313fb.tar.bz2 |
hurd: let csu initialize tls
Since 9cec82de715b ("htl: Initialize later"), we let csu initialize
pthreads. We can thus let it initialize tls later too, to better align
with the generic order. Initialization however accesses ports which
links/unlinks into the sigstate for unwinding. We can however easily
skip that during initialization.
Diffstat (limited to 'sysdeps/mach/hurd/i386')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index a430aae..5e85aa2 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -184,9 +184,6 @@ init (int *data) _dl_phnum = d->phdrsz / sizeof (ElfW(Phdr)); assert (d->phdrsz % sizeof (ElfW(Phdr)) == 0); } - - /* We need to setup TLS before initializing libpthread. */ - __libc_setup_tls (); #endif /* Call `init1' (above) with the user code as the return address, and the |