about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-12 13:32:10 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-12 13:32:10 -0400
commit07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be (patch)
tree72b8744d8838d4d9afdc324db8674ab1d507626a /elf
parent9ac533d31bae9b814a0c84b279db422005d1c9fd (diff)
downloadglibc-07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be.tar.gz
glibc-07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be.tar.xz
glibc-07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be.zip
Better check for last patch
Don't indicate that dependencies of dynamically loaded objects are
also dynamically loaded.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index ec700c4251..24b3359d0b 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -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]