Print message that there is no scope instead of being silent
authorUlrich Drepper <drepper@gmail.com>
Sat, 20 Aug 2011 19:16:42 +0000 (15:16 -0400)
committerUlrich Drepper <drepper@gmail.com>
Sat, 20 Aug 2011 19:16:42 +0000 (15:16 -0400)
ChangeLog
elf/dl-open.c

index 84378d1..ca38ec3 100644 (file)
--- 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.
index 865490d..a0b5c50 100644 (file)
@@ -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");
 }