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
2014-12-16 18:18:49 +00:00
2020-07-21 07:33:20 +02:00
2026-01-01 13:42:29 -08:00
2025-05-16 19:53:09 +02:00
2020-07-08 17:25:57 +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
2019-02-16 08:25:16 +01:00
2025-10-29 12:54:00 -03:00
2019-03-01 15:21:32 -03:00
2018-02-15 21:00:02 +00: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
2017-05-15 10:23:28 -03:00
2014-12-11 21:41:30 +00: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
2017-09-26 16:53:44 -07:00
2025-07-01 03:44:52 +08:00
2001-03-30 05:34:59 +00:00
2016-09-23 08:43:56 -04:00
2020-03-25 14:34:23 -05:00
2024-09-06 14:07:00 +02:00
2023-05-01 19:33:21 +02:00
2016-09-23 08:43:56 -04: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
2019-08-15 15:18:34 +00:00
2014-12-11 21:41:30 +00:00
2012-02-25 23:18:39 -05:00
2017-10-01 17:52:15 -07:00
2019-02-16 08:25:16 +01:00
2026-04-03 07:50:18 -03:00
2021-06-15 10:42:11 -03:00
2004-03-09 10:36:53 +00:00
2017-04-07 07:45:53 -04: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
1999-08-21 00:38:15 +00:00
2026-01-01 13:42:29 -08:00
2023-08-11 10:10:16 +02:00
2017-10-01 17:35:46 -07: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
2012-02-26 21:32:56 -05:00
2019-02-16 08:25:16 +01: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
2020-05-06 17:35:40 +02: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
2012-02-25 23:18:39 -05: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
2017-10-01 17:37:42 -07:00
2020-04-30 08:52:08 -05:00
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
2017-11-23 14:08:11 +01:00
2016-09-23 08:43:56 -04:00
2017-10-01 17:31:05 -07:00
2000-08-21 16:02:48 +00: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
2019-02-16 08:25:16 +01:00
2023-05-01 09:08:59 -04:00
2019-02-16 08:25:16 +01: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
2020-02-20 08:57:01 +01:00
2026-01-01 13:42:29 -08:00
2019-05-02 11:42:51 +02: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
2019-10-09 17:48:41 -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
2016-09-23 08:43:56 -04: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
2020-10-27 09:54:50 -03:00
2020-04-06 23:05:11 +02:00
2020-05-05 19:36:25 +02:00
2002-10-11 10:52:20 +00: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
2016-09-23 08:43:56 -04:00
2012-02-25 23:18:39 -05:00
1999-10-12 18:17:41 +00:00
2012-02-25 23:18:39 -05:00
2026-01-01 13:42:29 -08:00
2025-11-21 13:13:11 -03:00
2012-02-25 23:18:39 -05:00
2021-06-30 08:43:37 +02:00
2026-01-01 13:42:29 -08:00
2019-11-06 09:20:52 -03:00
2019-02-16 08:25:16 +01:00
2025-11-21 13:13:11 -03:00
2017-06-08 13:58:17 -04:00
2012-02-25 23:18:39 -05:00
2026-04-03 07:50:18 -03:00