2000-04-18 Andreas Jaeger <aj@suse.de>
authorAndreas Jaeger <aj@suse.de>
Tue, 18 Apr 2000 17:21:41 +0000 (17:21 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 18 Apr 2000 17:21:41 +0000 (17:21 +0000)
* 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.

ChangeLog
elf/rtld.c

index 99759f7..367a88d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-18  Andreas Jaeger  <aj@suse.de>
+
+       * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
+       needed.
+
 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/Makefile (tests): Add tst-getaddrinfo.
index 6e33969..4d053d2 100644 (file)
@@ -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
 }