]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Better check for last patch
authorUlrich Drepper <drepper@gmail.com>
Fri, 12 Aug 2011 17:32:10 +0000 (13:32 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 12 Aug 2011 17:32:10 +0000 (13:32 -0400)
Don't indicate that dependencies of dynamically loaded objects are
also dynamically loaded.

elf/dl-load.c

index ec700c425197869d96d5c7fcbb7a064914e60882..24b3359d0b9b0aa32315c4913dc89c284a9ed59b 100644 (file)
@@ -2094,7 +2094,7 @@ _dl_map_object (struct link_map *loader, const char *name,
   /* Display information if we are debugging.  */
   if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0)
       && loader != NULL)
-    _dl_debug_printf ((mode & __RTLD_DLOPEN) == 0
+    _dl_debug_printf ((mode & __RTLD_CALLMAP) == 0
                      ? "\nfile=%s [%lu];  needed by %s [%lu]\n"
                      : "\nfile=%s [%lu];  dynamically loaded by %s [%lu]\n",
                      name, nsid, loader->l_name[0]