(_dl_init): Fix test of the size of the preinit_array section. (call_init): Optimize...
[glibc.git] / elf / nodlopen2.c
bloba223f36834ce1bf99f285546329e955d23dce8ba
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int
5 main (void)
7 if (dlopen ("nodlopenmod2.so", RTLD_LAZY) != NULL)
9 puts ("opening \"nodlopenmod2.so\" succeeded, FAIL");
10 return 1;
13 puts ("opening \"nodlopenmod2.so\" failed, OK");
14 return 0;