Better check for last patch

Don't indicate that dependencies of dynamically loaded objects are
also dynamically loaded.
This commit is contained in:
Ulrich Drepper 2011-08-12 13:32:10 -04:00
parent 9ac533d31b
commit 07df30d995
1 changed files with 1 additions and 1 deletions

View 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]