aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-fini.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-06 09:15:58 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-06 09:15:58 +0000
commit42af49f875e2d0a8cdcf575fbd3a06c12be6468e (patch)
tree93545d0df9f8c0e6d6ed3cd68ee167712402e916 /elf/dl-fini.c
parent53bfdc1cf6f9360dfc5eb95c906159f949a8f83a (diff)
downloadglibc-42af49f875e2d0a8cdcf575fbd3a06c12be6468e.tar
glibc-42af49f875e2d0a8cdcf575fbd3a06c12be6468e.tar.gz
glibc-42af49f875e2d0a8cdcf575fbd3a06c12be6468e.tar.bz2
glibc-42af49f875e2d0a8cdcf575fbd3a06c12be6468e.zip
Update.
* elf/dl-fini.c (_dl_fini): Combine _dl_debug_printf calls. * elf/rtld.c (print_statistics): Likewise.
Diffstat (limited to 'elf/dl-fini.c')
-rw-r--r--elf/dl-fini.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/elf/dl-fini.c b/elf/dl-fini.c
index a56722f6ce..c34ee8ea1e 100644
--- a/elf/dl-fini.c
+++ b/elf/dl-fini.c
@@ -174,13 +174,9 @@ _dl_fini (void)
__rtld_lock_unlock_recursive (GL(dl_load_lock));
if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_STATISTICS, 0))
- {
- _dl_debug_printf ("\nruntime linker statistics:\n");
- _dl_debug_printf ("\
- final number of relocations: %lu\n",
- GL(dl_num_relocations));
- _dl_debug_printf ("\
-final number of relocations from cache: %lu\n",
- GL(dl_num_cache_relocations));
- }
+ _dl_debug_printf ("\nruntime linker statistics:\n"
+ " final number of relocations: %lu\n"
+ "final number of relocations from cache: %lu\n",
+ GL(dl_num_relocations),
+ GL(dl_num_cache_relocations));
}