LibC: Move pthread keys to TCB

This removes all TLS relocations from libc which may become handy ;)
This commit is contained in:
2026-05-17 00:28:03 +03:00
parent 9e6fa0a1ba
commit ff75c15ba3
7 changed files with 41 additions and 17 deletions

View File

@@ -1398,6 +1398,8 @@ static void initialize_tls(MasterTLS master_tls)
.cancel_type = PTHREAD_CANCEL_DEFERRED,
.cancel_state = PTHREAD_CANCEL_ENABLE,
.canceled = false,
.specific_keys = {},
.specific_values = {},
.dtv = {},
};