(dl_open_writer): Pass RTLD_DEEPBIND flag on to _dl_map_object_deps.
authordrepper <drepper>
Thu, 23 Sep 2004 07:43:21 +0000 (07:43 +0000)
committerdrepper <drepper>
Thu, 23 Sep 2004 07:43:21 +0000 (07:43 +0000)
elf/dl-open.c

index c352722..c9b4a45 100644 (file)
@@ -272,7 +272,8 @@ dl_open_worker (void *a)
     }
 
   /* Load that object's dependencies.  */
-  GLRO(dl_map_object_deps) (new, NULL, 0, 0, mode & __RTLD_DLOPEN);
+  GLRO(dl_map_object_deps) (new, NULL, 0, 0,
+                           mode & (__RTLD_DLOPEN | RTLD_DEEPBIND));
 
   /* So far, so good.  Now check the versions.  */
   for (i = 0; i < new->l_searchlist.r_nlist; ++i)