summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so
AgeCommit message (Collapse)Author
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-08-22Link ld.so-cookie back into the regress build now that ld.so's __guardMatthew Dempsky
value is actually initialized.
2012-08-21Link randomdata tests into the regress build now that I've committed support forMatthew Dempsky
.openbsd.randomdata, but comment out randomdata/ld.so-cookie for now since I haven't yet switched ld.so's __guard to use it.
2012-08-17Double check that we're not testing libc's __guard. Changing ld.so'sMatthew Dempsky
__guard symbol to HIDDEN causes dlsym() to return a pointer to libc's __guard instead, which can cause the test to wrongly pass even if ld.so's random data segments are not being initialized properly.
2012-08-16Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getMatthew Dempsky
a reference to the already loaded ld.so instead of loading another instance.
2012-08-16turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticMatthew Dempsky
2012-08-16Add regression test to check that PIEs work too.Matthew Dempsky
2012-08-16Add a test case to verify ld.so's randomdata section is initializedMatthew Dempsky
too, since interpreters will be initialized by a slightly different code path than executables.
2012-08-16basic randomdata regression testsMatthew Dempsky
2012-06-15Add a regress test for ld.so's DF_1_NOOPEN support.Matthew Dempsky
2011-11-29enable initfirst regressKurt Miller
2011-11-29clean up initfirst regress conflict created by my import. split testsKurt Miller
into two sub dirs.
2011-11-29Check the destructor order tooPhilip Guenthe
2011-11-29ld.so initfirst regress testKurt Miller
2011-11-08Regress for -z initfirst supportPhilip Guenthe
2011-11-08ld.so initfirst regress testPhilip Guenthe
2011-04-03Fix the really bad C++ test code that I wrote long ago.Dale Rahn
2010-08-04Revert previous since it makes the tests fail.Mark Kettenis
2010-07-03clean up all created filesPeter Hessler
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
declarations. OK miod@, millert@
2010-06-20Have yet another regress test actually build the test program, beforePeter Hessler
trying to use it. OK (a long time ago) david@
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2009-02-17Link lazy binding test into ld.so regress suite.Joel Sing
ok matthieu@
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2007-08-01remove the need to inspect the output and check everything programmaticallyKurt Miller
okay kettenis@
2007-07-31+ hidden subdirKurt Miller
2007-07-31add regress to test __asm(".hidden symbol") works as expected. for gcc3Kurt Miller
arch only. okay kettenis@
2005-11-09fix regress that assumed dlopen(0,...) returned handle to exe.Kurt Miller
2005-09-30add prog3Kurt Miller
2005-09-30regress that checks that a dlopen'ed object group is not unloaded ifKurt Miller
one of its depenencies is referred to via another dlopen.
2005-09-30add a function with the same name in aa and bb, also bbTest2() in prepKurt Miller
for new regress.
2005-09-30add test2Kurt Miller
2005-09-30regress for a shared object with depenencies that have a shared commonKurt Miller
dependency (similar to gaim). checks for use after free in dlclose.
2005-09-28add dlclose subdirKurt Miller
2005-09-28two new regresses for dlclose. double dlopen("foo") with singleKurt Miller
dlclose(foo). mozilla lazy binding example (load_object confusion)
2005-09-28make sure dlsym(RTLD_DEFAULT,...) can see symbols in own object groupKurt Miller
2005-09-23add test2 & 3Kurt Miller
2005-09-23make sure a undefined weak doesn't interfere with a defined one of theKurt Miller
same name in a different shared lib. also make sure first weak symbol is selected when duplicates exist.
2005-09-23add a regress for undefined weak. make sure ld.so doesn't warn on it orKurt Miller
count it as an failure.
2005-09-22Enable a bunch more tests.Dale Rahn
2005-09-22Test if a program exits when some of it's symbols are not found.Dale Rahn
2005-09-21more main.C -> main.cDale Rahn
2005-09-21This test is now C, not C++. main.C ->main.cDale Rahn
2005-09-19Verify which symbol is found when same strong symbol found in multiple files.Dale Rahn
ok kurt@
2005-09-19ansi clean so that all gcc versions can compile these; ok drahnTheo de Raadt
2005-09-19makefile cleanup: spacing, readability, tagsKurt Miller
2005-09-19makefile cleanup: spacing, readability, tagsKurt Miller
2005-09-19add test3Kurt Miller
2005-09-19addtional tests involving two dlopened load groupsKurt Miller
2005-09-19add prog5Kurt Miller