mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
15
elf/nodlopen.c
Normal file
15
elf/nodlopen.c
Normal file
@ -0,0 +1,15 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user