NetBSD/sys
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
..
altq
arch Check the PCI-interface for legacy/native mode, not the PCI-revision. 2011-03-09 20:35:56 +00:00
coda
common
compat Regen: use COMPAT_50 quotactl, not the native one 2011-03-07 19:27:27 +00:00
conf merge the bouyer-quota2 branch. This adds a new on-disk format 2011-03-06 17:08:10 +00:00
crypto
ddb
dev Add some PRIxxx macros to correctly print stdint types 2011-03-09 12:33:59 +00:00
dist Use %zu for size_t in debugging printf. 2011-03-05 21:51:17 +00:00
external Get improvements from FreeBSD-current (January 2011). 2011-03-07 11:25:41 +00:00
fs merge the bouyer-quota2 branch. This adds a new on-disk format 2011-03-06 17:08:10 +00:00
gdbscripts
ipkdb
kern actually, revert previous for now. quotactl doesn't play with the 2011-03-09 22:12:45 +00:00
lib Add quad srcs if building x86_64 32-bit libkern. 2011-02-26 18:17:55 +00:00
miscfs merge the bouyer-quota2 branch. This adds a new on-disk format 2011-03-06 17:08:10 +00:00
modules + nand_micron.c 2011-03-09 10:05:28 +00:00
net
net80211
netatalk
netbt
netinet fix a typo in rev.1.283, which broke tcp dupack and duppack statistics. 2011-03-09 00:44:23 +00:00
netinet6
netipsec
netisdn
netiso Remove ifa == NULL check, ifa cannot be NULL. 2011-03-09 22:04:52 +00:00
netkey
netmpls
netnatm unifdef -U__OpenBSD__ -D__NetBSD__ -U__FreeBSD__ for readability. No 2011-03-09 22:06:42 +00:00
netsmb
nfs
opencrypto const'fy algorithm descriptors 2011-03-09 11:43:36 +00:00
rump Mark cv_wait mutex as locked before doing any further dances. 2011-03-09 18:15:39 +00:00
secmodel
stand
sys Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
ufs typo in comment 2011-03-09 18:12:04 +00:00
uvm
Makefile