From 001f0a6c7cf36af3ac486ffcf13963939c7ce060 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Aug 2011 15:16:42 -0400 Subject: [PATCH] Print message that there is no scope instead of being silent --- ChangeLog | 1 + elf/dl-open.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 84378d1..ca38ec3 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 865490d..a0b5c50 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"); } -- 2.7.4