Home
last modified time | relevance | path

Searched refs:l_initfini (Results 1 – 20 of 20) sorted by relevance

/glibc-2.36/elf/
Ddl-deps.c197 if (l->l_searchlist.r_list == NULL && l->l_initfini == NULL in _dl_map_object_deps()
421 struct link_map **l_initfini = (struct link_map **) in _dl_map_object_deps() local
423 if (l_initfini == NULL) in _dl_map_object_deps()
429 l_initfini[0] = l; in _dl_map_object_deps()
430 memcpy (&l_initfini[1], needed, nneeded * sizeof needed[0]); in _dl_map_object_deps()
431 memcpy (&l_initfini[nneeded + 1], l_initfini, in _dl_map_object_deps()
434 l->l_initfini = l_initfini; in _dl_map_object_deps()
452 if (map->l_initfini != NULL && map->l_type == lt_loaded) in _dl_map_object_deps()
457 old_l_initfini = map->l_initfini; in _dl_map_object_deps()
462 struct link_map **l_initfini = in _dl_map_object_deps() local
[all …]
Ddl-lookup.c539 struct link_map **l_initfini = atomic_forced_read (undef_map->l_initfini); in add_dependency() local
540 if (l_initfini != NULL) in add_dependency()
542 for (i = 0; l_initfini[i] != NULL; ++i) in add_dependency()
543 if (l_initfini[i] == map) in add_dependency()
580 if (undef_map->l_initfini != l_initfini in add_dependency()
581 && undef_map->l_initfini != NULL) in add_dependency()
583 l_initfini = undef_map->l_initfini; in add_dependency()
584 for (i = 0; l_initfini[i] != NULL; ++i) in add_dependency()
585 if (l_initfini[i] == map) in add_dependency()
Ddl-sort-maps.c64 struct link_map **runp = maps[k]->l_initfini; in _dl_sort_maps_original()
101 struct link_map **runp = thisp->l_initfini; in _dl_sort_maps_original()
150 if (map->l_initfini) in dfs_traversal()
152 for (int i = 0; map->l_initfini[i] != NULL; i++) in dfs_traversal()
154 struct link_map *dep = map->l_initfini[i]; in dfs_traversal()
Ddl-close.c213 if (l->l_initfini != NULL) in _dl_close_worker()
217 struct link_map **lp = &l->l_initfini[1]; in _dl_close_worker()
318 if (imap->l_searchlist.r_list == NULL && imap->l_initfini != NULL) in _dl_close_worker()
328 for (cnt = 1; imap->l_initfini[cnt] != NULL; ++cnt) in _dl_close_worker()
332 imap->l_searchlist.r_list = &imap->l_initfini[cnt + 1]; in _dl_close_worker()
715 free (imap->l_initfini); in _dl_close_worker()
Ddl-libc.c292 free (l->l_initfini); in libc_freeres_fn()
293 l->l_initfini = NULL; in libc_freeres_fn()
Ddl-open.c642 struct link_map *l = new->l_initfini[0]; in dl_open_worker_begin()
651 l = new->l_initfini[++j]; in dl_open_worker_begin()
667 l = new->l_initfini[i]; in dl_open_worker_begin()
Ddl-init.c117 call_init (main_map->l_initfini[i], argc, argv, env); in _dl_init()
Dloadtest.c178 ((struct link_map *) testobjs[count].handle)->l_initfini, in main()
Drtld.c2169 struct link_map *l = main_map->l_initfini[i]; in dl_main()
2298 struct link_map *l = main_map->l_initfini[i]; in dl_main()
/glibc-2.36/sysdeps/x86/
Ddl-cet.c101 l = m->l_initfini[i]; in dl_cet_check()
152 m->l_initfini[ibt_legacy]->l_name, in dl_cet_check()
163 m->l_initfini[shstk_legacy]->l_name, in dl_cet_check()
190 l = m->l_initfini[ibt_legacy]; in dl_cet_check()
192 l = m->l_initfini[shstk_legacy]; in dl_cet_check()
Ddl-prop.h40 l = m->l_initfini[i]; in dl_isa_level_check()
/glibc-2.36/sysdeps/aarch64/
Ddl-bti.c90 struct link_map *dep = l->l_initfini[i]; in _dl_bti_check()
/glibc-2.36/include/
Dlink.h279 struct link_map **l_initfini; member
/glibc-2.36/ChangeLog.old/
DChangeLog.11681 * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
683 * elf/dl-close.c (_dl_close): Optimize access to l_initfini list
686 * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
4473 a dynamically loaded object remove old l_initfini list.
9851 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
11828 allocating and initializing L->l_initfini.
12236 r_duplist is not anymore allocated separately. l_initfini is and
12239 malloc block. Otherwise allocate l_initfini list only.
12240 Put dependencies for the object in l_initfini list.
12245 objects for which to run constructors from l_initfini element. Accept
[all …]
DChangeLog.1312879 loaded directly) determine length if l_initfini list by iterating
12881 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
12887 maps here. Search l_initfini list only if the object was loaded
DChangeLog.151842 l_reldeps, but also l_initfini.
DChangeLog.179149 (_dl_map_object_deps): Only change l->l_initfini when it is
9156 searching in l_initfini and l_reldeps without holding dl_load_lock.
DChangeLog.1611207 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
DChangeLog.1412366 the l_searchlist, not only for l_initfini.
DChangeLog.1880115 l_initfini.
80116 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80118 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
94965 close of a file loaded at startup, restore the original l_initfini
94967 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini