about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/dl-deps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index 7842013c92..9fd2dd23ef 100644
--- a/elf/dl-deps.c
+++ b/elf/dl-deps.c
@@ -254,10 +254,6 @@ _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.  */