Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | elf: Introduce __tls_pre_init_tp | Florian Weimer | 2021-05-10 | 1 | -0/+29 |
| | | | | | | | | | | | This is an early variant of __tls_init_tp, primarily for initializing thread-related elements of _rtld_global/GL. Some existing initialization code not needed for NPTL is moved into the generic version of this function. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> | ||||
* | elf: Introduce __tls_init_tp for second-phase TCB initialization | Florian Weimer | 2021-04-21 | 1 | -0/+24 |
TLS_INIT_TP is processor-specific, so it is not a good place to put thread library initialization code (it would have to be repeated for all CPUs). Introduce __tls_init_tp as a separate function, to be called immediately after TLS_INIT_TP. Move the existing stack list setup code for NPTL to this function. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |