mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
2000-08-15 Ulrich Drepper <drepper@redhat.com> * elf/multiload.c: Add mtrace call. Call dlclose for all handles and free wd. * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if there is already one. * elf/dl-close.c: Pretty print.
This commit is contained in:
@ -201,7 +201,8 @@ _dl_map_object_deps (struct link_map *map,
|
||||
|
||||
/* Allocate a temporary record to contain the references to the
|
||||
dependencies of this object. */
|
||||
if (l->l_searchlist.r_list == NULL && l != map && l->l_ldnum > 0)
|
||||
if (l->l_searchlist.r_list == NULL && l->l_initfini == NULL
|
||||
&& l != map && l->l_ldnum > 0)
|
||||
needed = (struct link_map **) alloca (l->l_ldnum
|
||||
* sizeof (struct link_map *));
|
||||
|
||||
|
Reference in New Issue
Block a user