glibc/elf/nodlopen.c
Ulrich Drepper 2cb8cefbd4 Update.
* elf/Makefile: Add no modules for nodelete test.
	* elf/nodelmod3.c: New file.
	* elf/nodelmod4.c: New file.
	* elf/nodelete.c: Also test case where dependency of dlopen() object
	is marked nodelete.

	* elf/nodlopen.c: New file.
	* elf/nodlopenmod.c: New file.
2000-07-21 04:42:21 +00:00

16 lines
261 B
C

#include <dlfcn.h>
#include <stdio.h>
int
main (void)
{
if (dlopen ("nodlopenmod.so", RTLD_LAZY) != NULL)
{
puts ("opening \"nodlopenmod.so\" succeeded, FAIL");
return 1;
}
puts ("opening \"nodlopenmod.so\" failed, OK");
return 0;
}