Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | elf: Introduce __tls_pre_init_tp | Florian Weimer | 2021-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | 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, nptl: Resolve recursive lock implementation early | Florian Weimer | 2021-05-10 | 1 | -0/+19 |
If libpthread is included in libc, it is not necessary to delay initialization of the lock/unlock function pointers until libpthread is loaded. This eliminates two unprotected function pointers from _rtld_global and removes some initialization code from libpthread. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |