Commit Graph

17 Commits

Author SHA1 Message Date
joerg 71d0bcc69f Introduce __HAVE_NO___THREAD for sun2 and vax to disable the TLS usage.
Require __HAVE_TLS_VARIANT_I or __HAVE_TLS_VARIANT_II as well as
__lwp_getprivate_fast / __lwp_gettcb_fast to exist for libpthread.
Define VAX as going to use TLS variant I, if it is ever implemented.
2012-01-17 20:34:57 +00:00
mrg 6520ba9809 avoid building stuff that depends upon pic objects if MKPIC == no. 2011-07-03 15:28:25 +00:00
mrg 8ab8bb438f only build the ld.elf_so tests if MKPIC != no. 2011-07-03 06:46:49 +00:00
nonaka c52f9a5df2 PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.
2011-06-25 05:45:10 +00:00
christos 2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
joerg e04e416493 Use proper format string 2011-05-24 15:24:28 +00:00
joerg b50095d784 Don't fail on platforms without TLS 2011-04-02 12:53:32 +00:00
joerg a7e14ae77f Add initial regression test for ld.elf_so locking. 2011-03-31 23:34:47 +00:00
pooka 030990eecf check that we can dlopen() the linkmap name, too 2011-03-25 14:47:31 +00:00
pooka b2e6db5028 check that dlopen()d dso shows up in the linkmap 2011-03-25 14:45:21 +00:00
skrll 267d99344b Blame where blame is due. 2011-03-17 15:59:32 +00:00
pooka 8498f8450d test helper program exit code, not test program exit code 2010-12-31 08:52:32 +00:00
skrll f1d73a2c94 Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked
objects, and the RTLD_NODELETE and RTLD_NOLOAD flags to dlopen(3).

Mark libpthread as DF_1_NOOPEN and use it to test the functionality.

Somewhat taken from FreeBSD.

Fixes PR 42029.

OK from christos and joerg.
2010-12-24 12:41:42 +00:00
skrll be2356ad6f Convert a couple of old regress tests to ATF.
Remove the regress/usr.bin/rtld/dlopen/dlopen.c test as well as it's
covered by existing ATF test(s).
2010-12-14 05:57:31 +00:00
christos 0f10aa9dce add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
2010-11-03 16:10:19 +00:00
jmmv 9d0b4b5bb8 Get rid of static Atffiles and let bsd.test.mk generate them on the fly. 2010-07-13 21:13:21 +00:00
pooka b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00