about summary refs log tree commit diff
diff options
context:
space:
mode:
-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");
 }