aad599979d
_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. |
||
---|---|---|
.. | ||
arch | ||
debug.c | ||
debug.h | ||
expand.c | ||
headers.c | ||
ld.elf_so.1 | ||
load.c | ||
Makefile | ||
map_object.c | ||
paths.c | ||
README | ||
README.TLS | ||
reloc.c | ||
rtld.c | ||
rtld.h | ||
rtldenv.h | ||
search.c | ||
symbol.c | ||
sysident.h | ||
tls.c | ||
TODO | ||
xmalloc.c | ||
xprintf.c |
$NetBSD: README,v 1.11 2006/11/24 22:52:16 wiz Exp $ TO DO: * Support for coexistence of 32-bit and 64-bit ELF on platforms that can do that.