/elf/ |
A D | tst-tls8.c | 16 void *h1; in do_test() local 25 h1 = dlopen (modname1, RTLD_LAZY); in do_test() 26 if (h1 == NULL) in do_test() 36 modid1 = ((struct link_map *) h1)->l_tls_modid; in do_test() 44 fp1 = dlsym (h1, "in_dso2"); in do_test() 66 modid2 = ((struct link_map *) h1)->l_tls_modid; in do_test() 92 dlclose (h1); in do_test() 96 h1 = dlopen (modname1, RTLD_LAZY); in do_test() 97 if (h1 == NULL) in do_test() 113 fp1 = dlsym (h1, "in_dso2"); in do_test() [all …]
|
A D | reldep2.c | 9 void *h1; in main() local 17 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 18 if (h1 == NULL) in main() 31 vp = dlsym (h1, "some_var"); in main() 58 if (dlclose (h1) != 0) in main() 65 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 66 if (h1 == NULL) in main() 73 vp = dlsym (h1, "some_var"); in main() 89 if (dlclose (h1) != 0) in main()
|
A D | reldep3.c | 9 void *h1; in main() local 17 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 18 if (h1 == NULL) in main() 31 vp = dlsym (h1, "some_var"); in main() 58 if (dlclose (h1) != 0) in main() 65 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 66 if (h1 == NULL) in main() 73 vp = dlsym (h1, "some_var"); in main() 89 if (dlclose (h1) != 0) in main()
|
A D | reldep.c | 9 void *h1; in main() local 17 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 18 if (h1 == NULL) in main() 31 vp = dlsym (h1, "some_var"); in main() 58 if (dlclose (h1) != 0) in main() 80 h1 = dlopen ("reldepmod1.so", RTLD_LAZY | RTLD_GLOBAL); in main() 81 if (h1 == NULL) in main() 88 vp = dlsym (h1, "some_var"); in main() 104 if (dlclose (h1) != 0) in main()
|
A D | tst-unique1.c | 9 void *h1 = dlopen ("tst-unique1mod1.so", RTLD_LAZY); in do_test() local 10 if (h1 == NULL) in do_test() 15 int *(*f1) (void) = dlsym (h1, "f"); in do_test() 39 dlclose (h1); in do_test() 53 h1 = dlopen ("tst-unique1mod1.so", RTLD_LAZY); in do_test() 54 if (h1 == NULL) in do_test() 59 f1 = dlsym (h1, "f"); in do_test()
|
A D | restest1.c | 10 void *h1; in main() local 19 h1 = dlopen ("testobj1.so", RTLD_LAZY); in main() 20 if (h1 == NULL) in main() 25 if (h1 == NULL) in main() 29 fp1 = dlsym (h1, "obj1func1"); in main() 43 if (dlclose (h1) != 0) in main()
|
A D | tst-tls9.c | 14 void *h1 = dlopen (modname1, RTLD_LAZY); in do_test() local 15 if (h1 == NULL) in do_test() 27 if (h1 != NULL) in do_test() 28 dlclose (h1); in do_test()
|
A D | reldep7.c | 8 void *h1; in main() local 12 h1 = dlopen ("reldep7mod1.so", RTLD_GLOBAL | RTLD_LAZY); in main() 13 if (h1 == NULL) in main() 26 mod1_bar = dlsym (h1, "mod1_bar"); in main() 43 if (dlclose (h1) != 0) in main()
|
A D | reldep4.c | 10 void *h1, *h2; in main() local 16 h1 = dlopen ("reldep4mod1.so", RTLD_NOW | RTLD_GLOBAL); in main() 17 if (h1 == NULL) in main() 28 if (dlclose (h1) != 0) in main()
|
A D | reldep5.c | 9 void *h1; in main() local 16 h1 = dlopen ("reldepmod5.so", RTLD_LAZY); in main() 17 if (h1 == NULL) in main() 47 if (dlclose (h1) != 0) in main()
|
A D | tst-global1.c | 7 void *h1 = dlopen ("$ORIGIN/testobj6.so", RTLD_GLOBAL|RTLD_LAZY); in do_test() local 8 if (h1 == NULL) in do_test() 22 dlclose (h1); in do_test()
|
A D | order2.c | 12 void *h1 = dlopen ("$ORIGIN/order2mod1.so", RTLD_LAZY | RTLD_GLOBAL); in do_test() local 13 if (h1 == NULL) in do_test() 24 if (dlclose (h1) != 0) in do_test()
|
A D | tst-nodelete-opened.c | 27 void *h1 = dlopen ("$ORIGIN/tst-nodelete-opened-lib.so", RTLD_LAZY); in do_test() local 28 if (h1 == NULL) in do_test() 49 if (dlclose (h1) != 0) in do_test()
|
A D | reldep6.c | 13 void *h1; in main() local 24 h1 = dlopen ("reldep6mod3.so", RTLD_LAZY); in main() 25 if (h1 == NULL) in main() 31 foopp = dlsym (h1, "foopp"); in main() 63 if (dlclose (h1) != 0) in main()
|
A D | tst-noload.c | 28 void *h1 = dlopen (LIBM_SO, RTLD_LAZY | RTLD_NOLOAD); in do_test() local 29 if (h1 != NULL) in do_test()
|