Go to file
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
bin Fix sub-section references. 2011-03-09 22:26:36 +00:00
common Remove duplicate "the". From Henning Petersen in PR 44640. 2011-02-26 12:56:35 +00:00
compat if using MAKEOBJDIRPREFIX, make sure to unset it since it would override 2011-01-31 10:58:14 +00:00
crypto Quiet a gcc warning when strict-aliasing checks are enabled. Reported by 2011-03-06 08:28:10 +00:00
dist format string needs end of statement ; for previous commit 2011-02-24 18:33:06 +00:00
distrib Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
doc Add a note about a possible way to migrate limits from QUOTA to QUOTA2 2011-03-06 17:12:36 +00:00
etc Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
external source files are scan.l and parse.y 2011-03-08 19:25:32 +00:00
extsrc
games Bug fix: in a game with 26 planes, the last one to be allocated wouldn't 2011-02-15 08:25:25 +00:00
gnu Provide more regsiters including CR27. 2011-03-03 09:43:27 +00:00
include Redo the SSP wrappers to be transparent on the resulting object files. 2011-02-21 00:40:07 +00:00
lib Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
libexec Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
regress The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
rescue Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
sbin Fix punctuation markup; new sentence, new line. 2011-03-06 17:21:08 +00:00
share ADD, enough said. 2011-03-09 17:52:45 +00:00
sys Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
tests Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
tools This tool now depends on updated target includes in the tools build 2011-03-07 13:28:06 +00:00
usr.bin Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
usr.sbin - Protect flags to avoid macro expansion by mandoc. 2011-03-07 17:44:37 +00:00
x11 Disable USE_PAM on ports which have legacy non-XFree86 servers. 2010-10-10 07:03:28 +00:00
build.sh Add support for the Extensible MIPS ("eMIPS") platform. The 2011-01-26 01:18:43 +00:00
BUILDING Pass down INSTALLSETS variable to installsets target. Use :Q to escape 2011-01-29 16:56:26 +00:00
Makefile Pass down INSTALLSETS variable to installsets target. Use :Q to escape 2011-01-29 16:56:26 +00:00
Makefile.inc
UPDATING fix typo in "-traditional-cpp" 2011-01-23 23:40:37 +00:00