From 0b5045fe2ca948f22517c4b8146c11e05f9c144e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 30 Jun 2002 08:26:20 +0000 Subject: Update. 2002-05-28 H.J. Lu * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which are not dlopened on the dependency list of a dlopened object. --- elf/dl-deps.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elf/dl-deps.c') diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 9fd2dd2..7842013 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -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. */ -- cgit v1.1