NetBSD/tests
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
..
crypto Don't force debug build. 2010-12-18 04:27:17 +00:00
dev PR#44239 is now fixed, remove the xfail from the test. 2011-03-01 22:52:54 +00:00
fs Don't descend into non-existing subdirectory "clients". 2011-03-09 20:13:47 +00:00
games Since /usr/games is rarely in one's $PATH, provide an absolute path to the 2010-11-19 12:31:36 +00:00
include Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
ipf Disable test cases which have not worked in ages instead of skipping them. 2010-12-18 13:06:51 +00:00
kernel Add tests for verifying the recent changes to ps_strings 2011-03-05 18:14:33 +00:00
lib Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
libexec test helper program exit code, not test program exit code 2010-12-31 08:52:32 +00:00
modules Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
net make netcfg produce sensible results in a non-atf env 2011-02-28 21:21:14 +00:00
rump in reconnect, ignore any all reconnect messages 2011-02-24 08:40:06 +00:00
sbin merge the bouyer-quota2 branch. This adds a new on-disk format 2011-03-06 17:08:10 +00:00
sys Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
syscall + rump_lwproc_newproc -> rump_lwproc_rfork() 2011-01-02 12:58:17 +00:00
toolchain Add tests to check "cc" can compile a working hello world. 2011-02-24 10:24:23 +00:00
usr.bin Test the -d type parameter of rump_server(1). 2011-02-17 16:08:48 +00:00
usr.sbin avoid temp file per clue-by-four from jmmv 2010-12-31 15:21:49 +00:00
util Typo. 2011-02-13 12:47:27 +00:00
Atffile
h_macros.h Add RZ(), which is like RL() except that it checks against 0 and 2010-08-31 17:21:14 +00:00
Makefile Add tests to check "cc" can compile a working hello world. 2011-02-24 10:24:23 +00:00
Makefile.inc add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing 2010-11-03 16:10:19 +00:00