Home
last modified time | relevance | path

Searched refs:link_map (Results 1 – 25 of 201) sorted by relevance

123456789

/glibc-2.36/sysdeps/generic/
Dldsodefs.h77 dl_relocate_ld (const struct link_map *l) in dl_relocate_ld()
93 typedef struct link_map *lookup_t;
239 unsigned int (*objopen) (struct link_map *, Lmid_t, uintptr_t *);
267 extern int _dl_name_match_p (const char *__name, const struct link_map *__map)
316 struct link_map *_ns_loaded;
334 struct link_map *libc_map;
345 const struct link_map *map;
381 EXTERN struct link_map *_dl_initfirst;
384 EXTERN struct link_map *_dl_profile_map;
394 EXTERN struct link_map _dl_rtld_map;
[all …]
Ddl-prop.h30 _rtld_main_check (struct link_map *m, const char *program) in _rtld_main_check()
35 _dl_open_check (struct link_map *m) in _dl_open_check()
40 _dl_process_pt_note (struct link_map *l, int fd, const ElfW(Phdr) *ph) in _dl_process_pt_note()
47 _dl_process_gnu_property (struct link_map *l, int fd, uint32_t type, in _dl_process_gnu_property()
/glibc-2.36/elf/
Ddl-sort-maps.c29 _dl_sort_maps_original (struct link_map **maps, unsigned int nmaps, in _dl_sort_maps_original()
48 struct link_map *thisp = maps[i]; in _dl_sort_maps_original()
64 struct link_map **runp = maps[k]->l_initfini; in _dl_sort_maps_original()
93 struct link_map **relmaps = &maps[k]->l_reldeps->list[0]; in _dl_sort_maps_original()
101 struct link_map **runp = thisp->l_initfini; in _dl_sort_maps_original()
140 dfs_traversal (struct link_map ***rpo, struct link_map *map, in dfs_traversal()
154 struct link_map *dep = map->l_initfini[i]; in dfs_traversal()
169 struct link_map *dep = map->l_reldeps->list[m]; in dfs_traversal()
184 _dl_sort_maps_dfs (struct link_map **maps, unsigned int nmaps, in _dl_sort_maps_dfs()
223 struct link_map *rpo[nmaps]; in _dl_sort_maps_dfs()
[all …]
Ddl-open.c54 struct link_map *map;
81 add_to_global_resize_failure (struct link_map *new) in add_to_global_resize_failure()
92 add_to_global_resize (struct link_map *new) in add_to_global_resize()
149 if (__builtin_mul_overflow (new_size, sizeof (struct link_map *), in add_to_global_resize()
152 struct link_map **new_global = malloc (allocation_size); in add_to_global_resize()
158 ns->_ns_main_searchlist->r_nlist * sizeof (struct link_map *)); in add_to_global_resize()
173 add_to_global_update (struct link_map *new) in add_to_global_update()
181 struct link_map *map = new->l_searchlist.r_list[cnt]; in add_to_global_update()
212 struct link_map *
215 struct link_map *l; in _dl_find_dso_for_object()
[all …]
Ddl-lookup.c42 struct link_map *m;
68 const struct link_map *const map, in ElfW()
169 const ElfW(Sym) *sym, const struct link_map *map) in enter_unique_sym()
189 mark_nodelete (struct link_map *map, int flags) in mark_nodelete()
200 is_nodelete (struct link_map *map, int flags) in is_nodelete()
213 struct link_map *map, struct sym_val *result, in do_lookup_unique()
215 const ElfW(Sym) *ref, const struct link_map *undef_map, in do_lookup_unique()
249 result->m = (struct link_map *) entries[idx].map; in do_lookup_unique()
335 result->m = (struct link_map *) map; in do_lookup_unique()
347 struct link_map *skip, int type_class, struct link_map *undef_map) in do_lookup_x()
[all …]
Dtst-tls8.c36 modid1 = ((struct link_map *) h1)->l_tls_modid; in do_test()
37 else if (((struct link_map *) h1)->l_tls_modid != modid1) in do_test()
40 i, ((struct link_map *) h1)->l_tls_modid, modid1); in do_test()
66 modid2 = ((struct link_map *) h1)->l_tls_modid; in do_test()
67 else if (((struct link_map *) h1)->l_tls_modid != modid2) in do_test()
70 i, ((struct link_map *) h1)->l_tls_modid, modid2); in do_test()
106 if (((struct link_map *) h1)->l_tls_modid != modid1) in do_test()
109 i, ((struct link_map *) h1)->l_tls_modid, modid1); in do_test()
134 if (((struct link_map *) h1)->l_tls_modid != modid2) in do_test()
137 i, ((struct link_map *) h1)->l_tls_modid, modid2); in do_test()
Ddl-deps.c49 struct link_map *map;
56 struct link_map *aux;
78 struct link_map *map; /* The data. */
126 preload (struct list *known, unsigned int *nlist, struct link_map *map) in preload()
140 _dl_map_object_deps (struct link_map *map, in _dl_map_object_deps()
141 struct link_map **preloads, unsigned int npreloads, in _dl_map_object_deps()
188 struct link_map *l = runp->map; in _dl_map_object_deps()
189 struct link_map **needed = NULL; in _dl_map_object_deps()
202 (&needed_space, l->l_ldnum, sizeof (struct link_map *))) in _dl_map_object_deps()
225 struct link_map *dep; in _dl_map_object_deps()
[all …]
Ddl-support.c71 struct link_map *_dl_profile_map;
84 static struct link_map _dl_main_map =
92 .r_list = &(struct link_map *) { &_dl_main_map },
95 .l_symbolic_searchlist = { .r_list = &(struct link_map *) { NULL } },
125 .r_list = &(struct link_map *) { &_dl_main_map },
154 struct link_map *_dl_initfirst;
196 void (*_dl_init_static_tls) (struct link_map *) = &_dl_nothread_init_static_tls;
209 struct link_map *_dl_sysinfo_map;
356 struct link_map *
366 _dl_audit_pltexit (struct link_map *l, ElfW(Word) reloc_arg, in _dl_audit_pltexit()
Dtst-dl_find_object-threads.c33 from_map (struct link_map *l, struct dl_find_object *expected) in from_map()
172 struct link_map *l = xdlopen (data->soname, RTLD_NOW); in start_verify()
209 struct link_map *link_map; in do_test() member
230 if (temp_objects[idx].link_map == NULL) in do_test()
232 temp_objects[idx].link_map = xdlopen (temp_objects[idx].soname, in do_test()
234 temp_objects[idx].address = xdlsym (temp_objects[idx].link_map, in do_test()
239 xdlclose (temp_objects[idx].link_map); in do_test()
240 temp_objects[idx].link_map = NULL; in do_test()
262 if (temp_objects[i].link_map != NULL) in do_test()
263 xdlclose (temp_objects[i].link_map); in do_test()
Ddl-object.c30 _dl_add_to_namespace_list (struct link_map *new, Lmid_t nsid) in _dl_add_to_namespace_list()
37 struct link_map *l = GL(dl_ns)[nsid]._ns_loaded; in _dl_add_to_namespace_list()
56 struct link_map *
58 struct link_map *loader, int mode, Lmid_t nsid) in _dl_new_object()
84 struct link_map *new; in _dl_new_object()
92 new = (struct link_map *) calloc (sizeof (*new) + audit_space in _dl_new_object()
93 + sizeof (struct link_map *) in _dl_new_object()
99 new->l_symbolic_searchlist.r_list = (struct link_map **) ((char *) (new + 1) in _dl_new_object()
Ddl-close.c75 struct link_map *old_map = listp->slotinfo[idx - disp].map; in remove_slotinfo()
118 struct link_map *map = closure; in call_destructors()
139 _dl_close_worker (struct link_map *map, bool force) in _dl_close_worker()
171 struct link_map *maps[nloaded]; in _dl_close_worker()
176 for (struct link_map *l = ns->_ns_loaded; l != NULL; l = l->l_next) in _dl_close_worker()
190 struct link_map *l = maps[done_index]; in _dl_close_worker()
217 struct link_map **lp = &l->l_initfini[1]; in _dl_close_worker()
243 struct link_map *jmap = l->l_reldeps->list[j]; in _dl_close_worker()
270 struct link_map *imap = maps[i]; in _dl_close_worker()
349 struct link_map *tmap = (struct link_map *) in _dl_close_worker()
[all …]
Dpldd-xx.c27 struct E(link_map) in E() argument
39 _Static_assert (offsetof (struct link_map, l_addr)
40 == offsetof (struct E(link_map), l_addr), "l_addr");
41 _Static_assert (offsetof (struct link_map, l_name)
42 == offsetof (struct E(link_map), l_name), "l_name");
43 _Static_assert (offsetof (struct link_map, l_next)
44 == offsetof (struct E(link_map), l_next), "l_next");
186 struct E(link_map) m; in E()
Ddl-audit.c28 _dl_audit_activity_map (struct link_map *l, int action) in _dl_audit_activity_map()
45 struct link_map *head = GL(dl_ns)[nsid]._ns_loaded; in _dl_audit_activity_nsid()
54 _dl_audit_objsearch (const char *name, struct link_map *l, unsigned int code) in _dl_audit_objsearch()
76 _dl_audit_objopen (struct link_map *l, Lmid_t nsid) in _dl_audit_objopen()
96 _dl_audit_objclose (struct link_map *l) in _dl_audit_objclose()
117 _dl_audit_preinit (struct link_map *l) in _dl_audit_preinit()
132 _dl_audit_symbind_alt (struct link_map *l, const ElfW(Sym) *ref, void **value, in _dl_audit_symbind_alt()
178 _dl_audit_symbind (struct link_map *l, struct reloc_result *reloc_result, in rtld_hidden_def()
266 _dl_audit_pltenter (struct link_map *l, struct reloc_result *reloc_result, in _dl_audit_pltenter()
342 _dl_audit_pltexit (struct link_map *l, ElfW(Word) reloc_arg, in _dl_audit_pltexit()
Dtst-dl_find_object.c35 from_map (struct link_map *l, struct dl_find_object *expected) in from_map()
139 struct link_map *main_map = (struct link_map *) debug->r_map; in check_initial()
143 struct link_map *rtld_map = xdlopen (LD_SO, RTLD_LAZY | RTLD_NOLOAD); in check_initial()
147 struct link_map *libc_map = xdlopen (LIBC_SO, RTLD_LAZY | RTLD_NOLOAD); in check_initial()
188 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()
Ddl-find_object.c40 for (struct link_map *l = GL(dl_ns)[ns]._ns_loaded; l != NULL; in _dl_find_object_slow()
475 struct link_map *main_map = GL(dl_ns)[LM_ID_BASE]._ns_loaded; in rtld_hidden_def()
505 for (struct link_map *l = GL(dl_ns)[ns]._ns_loaded; l != NULL; in rtld_hidden_def()
564 struct link_map *main_map = GL(dl_ns)[LM_ID_BASE]._ns_loaded; in _dl_find_object_init()
607 _dl_find_object_link_map_sort (struct link_map **loaded, size_t size) in _dl_find_object_link_map_sort()
625 struct link_map *tmp = loaded[min_idx]; in _dl_find_object_link_map_sort()
652 _dl_find_object_update_1 (struct link_map **loaded, size_t count) in _dl_find_object_update_1()
784 _dl_find_object_update (struct link_map *new_map) in _dl_find_object_update()
788 for (struct link_map *l = new_map; l != NULL; l = l->l_next) in _dl_find_object_update()
794 struct link_map **map_array = malloc (count * sizeof (*map_array)); in _dl_find_object_update()
[all …]
Ddl-version.c29 static inline struct link_map *
31 find_needed (const char *name, struct link_map *map) in find_needed()
33 struct link_map *tmap; in find_needed()
54 struct link_map *map, int verbose, int weak) in match_symbol()
154 _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode) in _dl_check_map_versions()
200 struct link_map *needed = find_needed (strtab + ent->vn_file, map); in _dl_check_map_versions()
391 _dl_check_all_versions (struct link_map *map, int verbose, int trace_mode) in _dl_check_all_versions()
393 struct link_map *l; in _dl_check_all_versions()
/glibc-2.36/include/
Dlink.h31 # define link_map link_map_public macro
39 #undef link_map
42 struct link_map;
43 extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
62 struct link_map;
69 struct link_map **r_list;
95 struct link_map struct
104 struct link_map *l_next, *l_prev; /* Chain of loaded objects. */ argument
112 struct link_map *l_real; argument
151 struct link_map *l_loader; argument
[all …]
/glibc-2.36/sysdeps/x86/
Ddl-prop.h24 extern void _dl_cet_check (struct link_map *, const char *)
26 extern void _dl_cet_open_check (struct link_map *)
30 dl_isa_level_check (struct link_map *m, const char *program) in dl_isa_level_check()
34 struct link_map *l; in dl_isa_level_check()
67 _rtld_main_check (struct link_map *m, const char *program) in _rtld_main_check()
76 _dl_open_check (struct link_map *m) in _dl_open_check()
85 _dl_process_property_note (struct link_map *l, const ElfW(Nhdr) *note, in _dl_process_property_note()
210 _dl_process_pt_note (struct link_map *l, int fd, const ElfW(Phdr) *ph) in _dl_process_pt_note()
217 _dl_process_gnu_property (struct link_map *l, int fd, uint32_t type, in _dl_process_gnu_property()
/glibc-2.36/sysdeps/powerpc/powerpc32/
Ddl-machine.h127 __elf_preferred_address(struct link_map *loader, size_t maplength,
167 extern int __elf_machine_runtime_setup (struct link_map *map,
171 elf_machine_runtime_setup (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_runtime_setup()
228 extern Elf32_Addr __elf_machine_fixup_plt (struct link_map *map,
233 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt()
248 elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc, in elf_machine_plt_value()
265 extern void __process_machine_rela (struct link_map *map,
267 struct link_map *sym_map,
276 extern void _dl_reloc_overflow (struct link_map *map,
286 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela()
[all …]
/glibc-2.36/sysdeps/aarch64/
Ddl-prop.h22 extern void _dl_bti_protect (struct link_map *, int) attribute_hidden;
24 extern void _dl_bti_check (struct link_map *, const char *)
28 _rtld_main_check (struct link_map *m, const char *program) in _rtld_main_check()
34 _dl_open_check (struct link_map *m) in _dl_open_check()
40 _dl_process_pt_note (struct link_map *l, int fd, const ElfW(Phdr) *ph) in _dl_process_pt_note()
45 _dl_process_gnu_property (struct link_map *l, int fd, uint32_t type, in _dl_process_gnu_property()
/glibc-2.36/sysdeps/nios2/
Ddl-machine.h72 elf_machine_runtime_setup (struct link_map *l, struct r_scope_elem *scope[], in elf_machine_runtime_setup()
177 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt()
187 elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc, in elf_machine_plt_value()
206 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela()
221 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela()
296 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel()
/glibc-2.36/sysdeps/ia64/
Ddl-machine.h38 __ia64_init_bootstrap_fdesc_table (struct link_map *map) in __ia64_init_bootstrap_fdesc_table()
103 elf_machine_runtime_setup (struct link_map *l, struct r_scope_elem *scope[], in elf_machine_runtime_setup()
292 elf_machine_fixup_plt (struct link_map *l, lookup_t t, in elf_machine_fixup_plt()
309 elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc, in elf_machine_plt_value()
333 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela()
360 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela()
438 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel()
/glibc-2.36/sysdeps/alpha/
Ddl-machine.h74 elf_machine_runtime_setup (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_runtime_setup()
84 struct link_map *link; in elf_machine_runtime_setup()
219 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt()
305 elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc, in elf_machine_plt_value()
323 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela()
356 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela()
439 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel()
/glibc-2.36/sysdeps/microblaze/
Ddl-machine.h74 elf_machine_runtime_setup (struct link_map *l, struct r_scope_elem *scope[], in elf_machine_runtime_setup()
170 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt()
180 elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc, in elf_machine_plt_value()
205 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela()
220 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela()
285 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel()
/glibc-2.36/sysdeps/mips/
Ddl-machine.h171 struct link_map *map = bootstrap_map; \
406 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt()
415 elf_machine_plt_value (struct link_map *map, const ElfW(Rel) *reloc, in elf_machine_plt_value()
431 elf_machine_reloc (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_reloc()
462 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_reloc()
593 struct link_map *sym_map; in elf_machine_reloc()
613 struct link_map *sym_map; in elf_machine_reloc()
666 elf_machine_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rel()
684 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel()
707 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], const ElfW(Rela) *reloc, in elf_machine_rela()
[all …]

123456789