summaryrefslogtreecommitdiff
path: root/test/dlopen
AgeCommit message (Collapse)Author
2016-06-05test: quieten some gcc warningsWaldemar Brodkorb
Fix some gcc warnings while compiling the testsuite.
2016-04-21dltest: fix a typoWaldemar Brodkorb
2016-01-31add $ORIGIN test-caseWaldemar Brodkorb
Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2016-01-31libdl: dlopen() mustn't forget RTLD_NODELETE flagLeonid Lisovskiy
If RTLD_NODELETE is passed to dlopen() rather than set on shared library itself, flag propagation to rtld_flags is missed. Test-case taken from glibc. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2013-03-14test: add missing top_srcdirBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14test: dlopen: fix misplaced buildsys hunkBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-02-07tests:libdl: add a new test for symbol scope issue in dlcloseFilippo ARCIDIACONO
Test case to trigger an issue raised by the new symbol scope design, that was erroneously removing local symbol scope from the global one too early while dl-closing a shared library. Based on original test-case by Khem Raj Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Reported-by: Khem Raj <raj.khem@gmail.com>
2009-12-09test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono
dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-11-29test/dlopen: fix build for libtest.soAustin Foxley
needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-29test/dlopen: Match the function name that libtest actually setsAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-22Look at HAVE_SHAREDBernhard Reutner-Fischer
We do not have UCLIBC_STATIC (anymore) but !HAVE_SHARED Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17build system changes needed for nptlAustin Foxley
* add include dir for nptl * pregen nptl headers * add include dir to pick up subarchs * a few tweaks for test/* to match state of the code Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17test/dlopen: use pthread_once directlyAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-16Convert to UNIX formatCarmelo Amoroso
2008-01-22- fix file permissionsBernhard Reutner-Fischer
2008-01-22Test case to exploit dladdr bugCarmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2007-03-12make sure undefine references in dlopen()-ed libs are handled graciouslyMike Frysinger
2007-03-12make sure dlsym() properly returns NULL with undefined symbolsMike Frysinger
2007-02-16make sure static variables are re-initialized everytimeMike Frysinger
2007-02-16cleanup a littleMike Frysinger
2007-01-29fixup prototype warningsMike Frysinger
2006-12-16actually scrub it, dont just comment it outMike Frysinger
2006-12-16scrub prototype so we dont conflict with the pthread headerMike Frysinger
2006-07-05add some more rpaths to keep the tests happyMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-02-14convert to new test frameworkMike Frysinger
2006-01-12use LDFLAGS when linking .so files as pointed out by Peter S. MazingerMike Frysinger
2006-01-11dont use LDFLAGS when just compilingMike Frysinger
2005-07-06make test failures fatalMike Frysinger
2005-07-01remove old depend on Config and make it so that a test failure aborts the ↵Mike Frysinger
make process
2005-06-29simplify TESTDIR setting and touchupMike Frysinger
2005-02-12no more cvsMike Frysinger
2004-01-03Add ldflags where neededEric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-09-02Make it easier to disable lib debugging (mainly for when testingEric Andersen
with glibc).
2003-09-01Use "__pthread_once", since that is weak and present in bothEric Andersen
glibc and uClibc.
2003-09-01move the ldso tests to dlopen where they belongEric Andersen
2003-08-19ignore unwanted stuffEric Andersen
2003-08-19Update the tests a little bitEric Andersen
2003-06-27Add a test which shows off the broken spots in our dlopen implementationEric Andersen