From 07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 12 Aug 2011 13:32:10 -0400 Subject: [PATCH] Better check for last patch Don't indicate that dependencies of dynamically loaded objects are also dynamically loaded. --- elf/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]