Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0 |
|
#
940be950 |
| 08-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Use pthread_t type in libthread_xu.
Separated from upcoming work to allow easier differentiation between non-pointers, single and double pointers. Inclusion of thr_private.h already pr
pthreads: Use pthread_t type in libthread_xu.
Separated from upcoming work to allow easier differentiation between non-pointers, single and double pointers. Inclusion of thr_private.h already provides all needed information to dereference these types.
No functional change
show more ...
|
Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
#
eeb69571 |
| 09-Aug-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
rtld - Support static TLS bindings for late-loaded shared libraries
* Allow late (manual) dlopen()s to load shared libraries which use static TLS variables, as long as there is space. Do proper
rtld - Support static TLS bindings for late-loaded shared libraries
* Allow late (manual) dlopen()s to load shared libraries which use static TLS variables, as long as there is space. Do proper late-binding and initialize the area for all threads.
* rtld will cache a symbol lookup on first-need for: "_pthread_distribute_static_tls" and then call it as needed to initialize late-bound static TLS space.
This symbol is weakly bounded to __libc_distribute_static_tls in libc, and strongly overridden by _libthread_distribute_static_tls in libthread_xu.
* Fixes mesa glx-tls and others.
* Test code from FreeBSD. Also tested with other combinations including a pthread_create() and -static compilation.
https://github.com/dumbbell/test-tls-initial-exec
show more ...
|