about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-18 17:21:41 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-18 17:21:41 +0000
commit1531e094ceb1075d6faba5e52367d7bf2baa0c47 (patch)
tree4715ee0dd7201e62da2097d2d9b5730810769977 /elf
parent7604414a1c69c6cb90069d239546a5b5970fb32c (diff)
downloadglibc-1531e094ceb1075d6faba5e52367d7bf2baa0c47.tar.gz
glibc-1531e094ceb1075d6faba5e52367d7bf2baa0c47.tar.xz
glibc-1531e094ceb1075d6faba5e52367d7bf2baa0c47.zip
2000-04-18 Andreas Jaeger <aj@suse.de>
	* elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
	needed.
2000-04-18  Andreas Jaeger  <aj@suse.de>

	* elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
	needed.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 6e33969faa..4d053d298b 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1486,6 +1486,7 @@ print_statistics (void)
     }
 
   /* Print relocation statistics.  */
+#ifndef HP_TIMING_NONAVAIL
   if (HP_TIMING_AVAIL)
     {
       HP_TIMING_PRINT (buf, sizeof (buf), relocate_time);
@@ -1507,13 +1508,14 @@ print_statistics (void)
       *wp = '\0';
       _dl_debug_message (0, " (", buf, "%)\n", NULL);
     }
-
+#endif
   buf[sizeof (buf) - 1] = '\0';
   _dl_debug_message (1, "                 number of relocations: ",
 		     _itoa_word (_dl_num_relocations,
 				 buf + sizeof (buf) - 1, 10, 0),
 		     "\n", NULL);
 
+#ifndef HP_TIMING_NONAVAIL
   /* Time spend while loading the object and the dependencies.  */
   if (HP_TIMING_AVAIL)
     {
@@ -1536,4 +1538,5 @@ print_statistics (void)
       *wp = '\0';
       _dl_debug_message (0, " (", buf, "%)\n", NULL);
     }
+#endif
 }