summaryrefslogtreecommitdiff
path: root/libc/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/elf/dl-open.c')
-rw-r--r--libc/elf/dl-open.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/elf/dl-open.c b/libc/elf/dl-open.c
index e5e6e069e..6c096d30d 100644
--- a/libc/elf/dl-open.c
+++ b/libc/elf/dl-open.c
@@ -548,10 +548,7 @@ cannot load any more object with static TLS"));
generation of the DSO we are allocating data for. */
_dl_update_slotinfo (imap->l_tls_modid);
#endif
- /* We do this iteration under a signal mask in dl-reloc; why not
- here? Because these symbols are new and dlopen hasn't
- returned yet. So we can't possibly be racing with a TLS
- access to them from another thread. */
+
GL(dl_init_static_tls) (imap);
assert (imap->l_need_tls_init == 0);
}