about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-20 15:16:42 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-20 15:16:42 -0400
commit001f0a6c7cf36af3ac486ffcf13963939c7ce060 (patch)
tree7498957254d3a12e12f409c1444b5aeba3c3d487
parent49c74ba90e99c978b452dd430d08bb831e26a2aa (diff)
downloadglibc-001f0a6c7cf36af3ac486ffcf13963939c7ce060.tar.gz
glibc-001f0a6c7cf36af3ac486ffcf13963939c7ce060.tar.xz
glibc-001f0a6c7cf36af3ac486ffcf13963939c7ce060.zip
Print message that there is no scope instead of being silent
-rw-r--r--ChangeLog1
-rw-r--r--elf/dl-open.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84378d19dd..ca38ec3234 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 865490daaf..a0b5c5009c 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");
 }