aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 803d586..62c997a 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -277,7 +277,13 @@ _dl_start_final (void *arg, struct dl_start_final_info *info)
#endif
if (__builtin_expect (GL(dl_debug_mask) & DL_DEBUG_STATISTICS, 0))
- print_statistics (&rtld_total_time);
+ {
+#ifndef HP_TIMING_NONAVAIL
+ print_statistics (&rtld_total_time);
+#else
+ print_statistics (NULL);
+#endif
+ }
return start_addr;
}