From: Ulrich Drepper Date: Fri, 12 Aug 2011 17:32:10 +0000 (-0400) Subject: Better check for last patch X-Git-Tag: glibc-2.15~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07df30d99565f1b4dd6d9abf4a1c169bbd9aa3be;p=thirdparty%2Fglibc.git Better check for last patch Don't indicate that dependencies of dynamically loaded objects are also dynamically loaded. --- diff --git a/elf/dl-load.c b/elf/dl-load.c index ec700c42519..24b3359d0b9 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]