OpenGrok
Cross Reference: h_tls_dynamic.c
xref
: /
src
/
tests
/
lib
/
libc
/
tls_dso
/
h_tls_dynamic.c
Home
|
History
|
Annotate
|
Download
|
only in
tls_dso
History log of
/src/tests/lib/libc/tls_dso/h_tls_dynamic.c
Revision
Date
Author
Comments
1.5
21-Oct-2013
joerg
Revert, init-exec in combination with initalised TLS variables is not
supported.
1.4
20-Oct-2013
joerg
Force use of static TLS space.
1.3
17-Jan-2012
joerg
Introduce __HAVE_NO___THREAD for sun2 and vax to disable the TLS usage.
Require __HAVE_TLS_VARIANT_I or __HAVE_TLS_VARIANT_II as well as
__lwp_getprivate_fast / __lwp_gettcb_fast to exist for libpthread.
Define VAX as going to use TLS variant I, if it is ever implemented.
1.2
17-Nov-2011
joerg
FreeBSD bug report 161344: TLS area for the main thread is set up to
early, if e.g. pointers to functions are used as initializers.
1.1
09-Mar-2011
joerg
branches: 1.1.4;
Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.
Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.
This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
1.1.4.1
17-Apr-2012
yamt
sync with head
Indexes created Mon Sep 29 21:09:56 GMT 2025