Adhemerval Zanella
b539947e15
elf: Remove dead l_need_tls_init static-TLS init path
...
Since af34b1376a ("elf: Initialize static TLS before relocation
processing", BZ 34164) dropped the 'defer-if-not-relocated' branch in
_dl_try_allocate_static_tls, nothing sets l_need_tls_init any more. The
second pass in update_tls_slotinfo, guarded by l_need_tls_init, is
therefore dead: its _dl_update_slotinfo / _dl_init_static_tls calls never
run, and the static TLS image is initialised inline during relocation (IE
model) or lazily on first dynamic-TLS access instead.
Remove the dead loop, the now write-only l_need_tls_init field and its
clear in _dl_allocate_tls_init. No functional change.
Checked on aarch64-linux-gnu, x86_64-linux-gnu, and i686-linux-gnu.
I also run the elf tests on armv7-a, alpha, loongarch64, mips64le,
powerpc, riscv, and s390x using qemu system.
Reviewed-by: Florian Weimer <fweimer@redhat.com >
2026-08-31 15:43:44 -03:00
..
2025-11-21 13:13:11 -03:00
2026-02-26 10:12:56 -03:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2025-05-16 19:53:09 +02:00
2026-08-31 15:43:44 -03:00
2026-03-15 18:07:58 +01:00
2023-10-24 12:30:59 +02:00
2026-01-01 13:42:29 -08:00
2025-08-27 10:45:45 -03:00
2026-01-01 13:42:29 -08:00
2025-10-29 12:54:00 -03:00
2026-01-01 13:42:29 -08:00
2022-08-03 11:43:04 +02:00
2026-04-03 07:50:18 -03:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2023-09-05 13:08:59 -03:00
2025-05-16 19:53:09 +02:00
2026-04-03 07:50:18 -03:00
2025-02-01 12:37:58 +01:00
2025-07-01 03:44:52 +08:00
2024-09-06 14:07:00 +02:00
2023-05-01 19:33:21 +02:00
2026-08-30 03:50:13 +01:00
2021-06-15 10:42:11 -03:00
2026-07-24 22:10:57 +09:00
2025-09-11 14:46:07 -03:00
2026-01-01 13:42:29 -08:00
2026-02-03 09:28:23 -08:00
2026-04-03 07:50:18 -03:00
2026-04-03 07:50:18 -03:00
2021-06-15 10:42:11 -03:00
2021-07-01 16:46:59 +02:00
2022-11-07 10:40:21 -03:00
2026-01-01 13:42:29 -08:00
2023-10-24 12:30:59 +02:00
2023-10-24 12:30:59 +02:00
2023-10-24 12:30:59 +02:00
2026-04-03 07:50:18 -03:00
2026-01-01 13:42:29 -08:00
2023-08-11 10:10:16 +02:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2020-12-08 18:15:27 +00:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-06-05 16:20:20 -03:00
2026-01-01 13:42:29 -08:00
2026-08-31 15:43:44 -03:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2021-07-22 18:38:04 +05:30
2026-01-01 13:42:29 -08:00
2026-02-02 14:34:25 -03:00
2021-07-22 18:38:02 +05:30
2026-03-15 18:07:58 +01:00
2026-03-15 21:24:00 +01:00
2023-10-24 12:30:59 +02:00
2026-04-03 07:50:18 -03:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2022-12-19 18:56:54 +01:00
2025-11-22 21:55:02 +01:00
2021-06-30 08:43:37 +02:00
2023-10-24 12:30:59 +02:00
2026-01-01 13:42:29 -08:00
2023-05-01 09:08:59 -04:00
2026-01-01 13:42:29 -08:00
2026-06-19 18:22:20 +02:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-03-15 21:24:00 +01:00
2025-09-15 09:47:41 +01:00
2023-10-24 12:30:59 +02:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-08-31 15:43:44 -03:00
2026-01-01 13:42:29 -08:00
2026-01-01 13:42:29 -08:00
2026-05-07 20:04:06 +02:00
2026-01-01 13:42:29 -08:00
2025-08-22 18:18:38 -07:00
2025-11-21 13:13:11 -03:00
2025-03-21 15:46:48 -03:00
2025-11-10 08:57:56 -03:00
2025-06-17 09:11:38 -03:00
2024-12-21 05:24:07 +08:00
2026-03-15 18:07:58 +01:00
2026-01-01 13:42:29 -08:00
2025-11-21 13:13:11 -03:00
2021-06-30 08:43:37 +02:00
2026-01-01 13:42:29 -08:00
2025-11-21 13:13:11 -03:00
2026-04-03 07:50:18 -03:00