1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2002-05-28  H.J. Lu  <hjl@gnu.org>

	* elf/dl-deps.c (_dl_map_object_deps): Don't add objects which
	are not dlopened on the dependency list of a dlopened object.
This commit is contained in:
Ulrich Drepper
2002-06-30 08:26:20 +00:00
parent 6d78cd000f
commit 0b5045fe2c
3 changed files with 10 additions and 1 deletions

View File

@ -254,6 +254,10 @@ _dl_map_object_deps (struct link_map *map,
else
dep = args.aux;
/* Skip those are not dlopened if we are dlopened. */
if (map->l_type == lt_loaded && dep->l_type != lt_loaded)
continue;
if (! dep->l_reserved)
{
/* Allocate new entry. */