From 39b04aa39823faf1cc414e7f3eca4f43e01426e4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Jan 2004 03:03:47 +0000 Subject: Update. 2004-01-15 Ulrich Drepper * elf/rtld.c: Handle platforms with HP_TIMING_NONAVAIL defined. --- elf/rtld.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'elf') 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; } -- cgit v1.1