From: Ulrich Drepper Date: Sat, 20 Aug 2011 19:16:42 +0000 (-0400) Subject: Print message that there is no scope instead of being silent X-Git-Tag: glibc-2.15~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001f0a6c7cf36af3ac486ffcf13963939c7ce060;p=thirdparty%2Fglibc.git Print message that there is no scope instead of being silent --- diff --git a/ChangeLog b/ChangeLog index 84378d19dda..ca38ec32347 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * elf/dl-open.c (add_to_global): Report additions to the global scope for LD_DEBUG=scopes. (dl_open_worker): Also print scope of newly loaded dependencies. + (_dl_show_scope): Indicate if there is no scope. [BZ #13114] * stdio-common/Makefile (tests): Add bug24. diff --git a/elf/dl-open.c b/elf/dl-open.c index 865490daafc..a0b5c5009c9 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -661,6 +661,8 @@ _dl_show_scope (struct link_map *l, int from) _dl_debug_printf_c ("\n"); } + else + _dl_debug_printf (" no scope\n"); _dl_debug_printf ("\n"); }