mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
2cb8cefbd4
* 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.
16 lines
261 B
C
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;
|
|
}
|