NetBSD/libexec/ld.elf_so
joerg aad599979d 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.
2011-03-09 23:10:05 +00:00
..
arch Don't rely on >32bit math. 2011-03-04 00:40:48 +00:00
debug.c Add __RCSIDs. 2004-10-22 05:39:56 +00:00
debug.h
expand.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
headers.c Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
ld.elf_so.1 Remove superfluous Pp. 2010-12-17 08:50:26 +00:00
load.c Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked 2010-12-24 12:41:42 +00:00
Makefile Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
map_object.c Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
paths.c warns=4 2009-05-19 20:44:52 +00:00
README s/existance/existence/, from Zafer. 2006-11-24 22:52:16 +00:00
README.TLS Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
reloc.c Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked 2010-12-24 12:41:42 +00:00
rtld.c Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
rtld.h Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
rtldenv.h PR/44010: YAMAMOTO Takashi: sbrk: grow 0xb3ba2000 failed, error = 12" 2010-10-29 15:08:17 +00:00
search.c Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked 2010-12-24 12:41:42 +00:00
symbol.c Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
sysident.h Use an elf note to handle pax arguments. This is a temporary solution to 2007-06-24 20:35:36 +00:00
tls.c Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
TODO Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
xmalloc.c ANSIfy 2010-12-03 23:07:49 +00:00
xprintf.c Replace use of errlist with a single concatenated version and an offset 2010-12-16 22:52:32 +00:00

$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.