Home
last modified time | relevance | path

Searched refs:RTLD_NOW (Results 1 – 25 of 65) sorted by relevance

123

/glibc-2.36/elf/
Dtst-dlopen-nodelete-reloc.c89 RTLD_NOW | RTLD_GLOBAL); in do_test()
94 void *mod2 = xdlopen ("tst-dlopen-nodelete-reloc-mod2.so", RTLD_NOW); in do_test()
104 void *mod3 = xdlopen ("tst-dlopen-nodelete-reloc-mod3.so", RTLD_NOW); in do_test()
107 void *mod5 = xdlopen ("tst-dlopen-nodelete-reloc-mod5.so", RTLD_NOW); in do_test()
114 RTLD_NOW | RTLD_GLOBAL); in do_test()
116 void *mod7 = xdlopen ("tst-dlopen-nodelete-reloc-mod7.so", RTLD_NOW); in do_test()
126 void *mod8 = xdlopen ("tst-dlopen-nodelete-reloc-mod8.so", RTLD_NOW); in do_test()
129 RTLD_NOW | RTLD_NOLOAD | RTLD_GLOBAL); in do_test()
132 void *mod10 = xdlopen ("tst-dlopen-nodelete-reloc-mod10.so", RTLD_NOW); in do_test()
134 RTLD_NOW | RTLD_NOLOAD); in do_test()
[all …]
Dloadtest.c45 { "obj1func1", 0, RTLD_NOW, },
46 { "obj1func2", 0, RTLD_NOW | RTLD_GLOBAL },
49 { "obj2func1", 1, RTLD_NOW, },
50 { "obj2func2", 1, RTLD_NOW | RTLD_GLOBAL },
53 { "obj3func1", 2, RTLD_NOW },
54 { "obj3func2", 2, RTLD_NOW | RTLD_GLOBAL },
57 { "obj4func1", 3, RTLD_NOW },
58 { "obj4func2", 3, RTLD_NOW | RTLD_GLOBAL },
61 { "obj5func1", 4, RTLD_NOW },
62 { "obj5func2", 4, RTLD_NOW | RTLD_GLOBAL },
[all …]
Dtst-glibc-hwcaps-prepend-cache.c44 if (dlopen (SONAME, RTLD_NOW) != NULL) in do_test()
60 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
76 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
84 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
99 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
107 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
118 TEST_VERIFY (dlopen (SONAME, RTLD_NOW) == NULL); in do_test()
123 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test()
Dloadfail.c16 if ((su[0] = dlopen ("testobj1.so", RTLD_GLOBAL | RTLD_NOW)) == NULL in main()
17 || (su[1] = dlopen ("testobj2.so", RTLD_GLOBAL | RTLD_NOW)) == NULL in main()
18 || (su[2] = dlopen ("testobj3.so", RTLD_GLOBAL | RTLD_NOW)) == NULL in main()
19 || (su[3] = dlopen ("testobj4.so", RTLD_GLOBAL | RTLD_NOW)) == NULL in main()
20 || (su[4] = dlopen ("testobj5.so", RTLD_GLOBAL | RTLD_NOW)) == NULL) in main()
23 h = dlopen ("failobj.so", RTLD_GLOBAL | RTLD_NOW); in main()
Dunload5.c7 void *g = dlopen ("unload3mod1.so", RTLD_GLOBAL | RTLD_NOW); in main()
8 void *h = dlopen ("unload3mod2.so", RTLD_GLOBAL | RTLD_NOW); in main()
14 dlopen ("unload3mod4.so", RTLD_GLOBAL | RTLD_NOW); in main()
18 g = dlopen ("unload3mod3.so", RTLD_GLOBAL | RTLD_NOW); in main()
19 h = dlopen ("unload3mod4.so", RTLD_GLOBAL | RTLD_NOW); in main()
Dunload3.c7 void *g = dlopen ("unload3mod1.so", RTLD_GLOBAL | RTLD_NOW); in main()
8 void *h = dlopen ("unload3mod2.so", RTLD_GLOBAL | RTLD_NOW); in main()
17 g = dlopen ("unload3mod3.so", RTLD_GLOBAL | RTLD_NOW); in main()
18 h = dlopen ("unload3mod4.so", RTLD_GLOBAL | RTLD_NOW); in main()
Dtst-ldconfig-ld_so_conf-update.c83 TEST_VERIFY_EXIT (dlopen (DSO, RTLD_NOW | RTLD_GLOBAL) == NULL); in do_test()
95 TEST_VERIFY_EXIT (dlopen (DSO, RTLD_NOW | RTLD_GLOBAL) == NULL); in do_test()
104 TEST_VERIFY_EXIT (dlopen (DSO, RTLD_NOW | RTLD_GLOBAL) == NULL); in do_test()
112 TEST_VERIFY_EXIT (dlopen (DSO, RTLD_NOW | RTLD_GLOBAL) != NULL); in do_test()
Dtst-dl_find_object-threads.c172 struct link_map *l = xdlopen (data->soname, RTLD_NOW); in start_verify()
191 void *mod1 = xdlopen ("tst-dl_find_object-mod1.so", RTLD_NOW); in do_test()
193 void *mod3 = xdlopen ("tst-dl_find_object-mod3.so", RTLD_NOW); in do_test()
195 void *mod5 = xdlopen ("tst-dl_find_object-mod5.so", RTLD_NOW); in do_test()
196 void *mod6 = xdlopen ("tst-dl_find_object-mod6.so", RTLD_NOW); in do_test()
233 RTLD_NOW); in do_test()
Dmultiload.c34 a = dlopen ("./testobj1.so", RTLD_NOW); in main()
43 b = dlopen (buf, RTLD_NOW); in main()
52 c = dlopen (buf, RTLD_NOW); in main()
61 d = dlopen (buf, RTLD_NOW); in main()
Dtst-nodelete.cc14 if (dlopen ("tst-nodelete-rtldmod.so", RTLD_NOW | RTLD_NODELETE) != NULL in do_test()
26 if (dlopen ("tst-nodelete-zmod.so", RTLD_NOW) != NULL in do_test()
37 if (dlopen ("tst-nodelete-uniquemod.so", RTLD_NOW) != NULL in do_test()
Dtst-auditmod28.c36 void *handle = xdlopen (LIBM_SO, RTLD_LOCAL | RTLD_NOW); in la_version()
48 handle = xdlopen (LIBC_SO, RTLD_LOCAL | RTLD_NOW | RTLD_NOLOAD); in la_version()
75 void *dlmopen_handle = xdlmopen (LM_ID_NEWLM, LIBC_SO, RTLD_NOW); in la_version()
Dcircleload1.c101 if (undef && flag == RTLD_NOW) in load_dso()
154 errors += load_dso (loading, 0, RTLD_NOW); in main()
160 errors += load_dso (loading, 1, RTLD_NOW); in main()
Dtst-audit28.c28 void *handle = xdlopen ("mapped to libc", RTLD_LOCAL | RTLD_NOW); in do_test()
30 == xdlopen (LIBC_SO, RTLD_LOCAL | RTLD_NOW | RTLD_NOLOAD)); in do_test()
Dtst-tls15.c8 void *h = dlopen ("tst-tlsmod15a.so", RTLD_NOW); in do_test()
15 h = dlopen ("tst-tlsmod15b.so", RTLD_NOW); in do_test()
Dtst-auditmod20.c33 void *mod = dlopen ("nonexistent.so", RTLD_NOW); in check()
39 void *mod = dlmopen (LM_ID_BASE, "nonexistent.so", RTLD_NOW); in check()
Dreldep4.c16 h1 = dlopen ("reldep4mod1.so", RTLD_NOW | RTLD_GLOBAL); in main()
22 h2 = dlopen ("reldep4mod2.so", RTLD_NOW | RTLD_GLOBAL); in main()
Dtst-tls-ie.c55 void *p = xdlopen (mod, RTLD_NOW); in load_and_access()
97 void *p = dlopen ("tst-tls-ie-mod6.so", RTLD_NOW); in do_test()
Dunload.c40 sohandle = dlopen ("unloadmod.so", RTLD_NOW | RTLD_GLOBAL); in main()
63 sohandle = dlopen ("unloadmod.so", RTLD_NOW | RTLD_GLOBAL); in main()
Dtst-tls-ie-dlmopen.c56 void *p = xdlmopen (lmid, mod, RTLD_NOW); in load_and_access()
98 void *p = dlmopen (LM_ID_BASE, "tst-tls-ie-mod4.so", RTLD_NOW); in do_test()
Dtst-audit18.c39 void *h = xdlmopen (LM_ID_NEWLM, LIBC_SO, RTLD_NOW); in handle_restart()
48 void *h = xdlmopen (LM_ID_NEWLM, "tst-audit18mod.so", RTLD_NOW); in handle_restart()
Dtst-dl_find_object.c188 struct link_map *mod1 = xdlopen ("tst-dl_find_object-mod1.so", RTLD_NOW); in do_test()
208 struct link_map *mod2 = xdlopen ("tst-dl_find_object-mod2.so", RTLD_NOW); in do_test()
224 mod1 = xdlopen ("tst-dl_find_object-mod1.so", RTLD_NOW); in do_test()
Dtst-audit23.c41 xdlopen ("tst-audit23mod.so", RTLD_NOW); in handle_restart()
42 xdlmopen (LM_ID_NEWLM, LIBC_SO, RTLD_NOW); in handle_restart()
Dtst-tls20.c39 void *m = dlopen ("tst-tls20mod-bad.so", RTLD_NOW); in load_fail()
330 moddep = dlopen (moddepname, RTLD_NOW); in do_test_invalid_dependency()
Dtst-dlmopen-gethostbyname.c25 RTLD_NOW); in do_test()
/glibc-2.36/dlfcn/
Dfailtest.c26 dsc = dlopen (unknown, RTLD_NOW); in main()
37 dsc = dlopen (exists, RTLD_NOW); in main()

123