From 466a0ec9985e540107ba6e92ba2f6a268ce04154 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Apr 2000 15:41:59 +0000 Subject: Update. * elf/dl-reloc.c (_dl_relocat_object): Add more __builtin_expect. * elf/dl-lookup.c: Add more __builtin_expect. * elf/dl-init.c (_dl_init): Add more __builtin_expect. * elf/dl-fini.c (_dl_fini): Add more __builtin_expect. * elf/dl-deps.c (_dl_map_object_deps): Add more __builtin_expect. * elf/dl-close.c (_dl_close): Add more __builtin_expect. * elf/rtld.c (_dl_start_final): Add more __builtin_expect. --- elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/rtld.c') diff --git a/elf/rtld.c b/elf/rtld.c index 7e960348f0..46732ba912 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -251,7 +251,7 @@ _dl_start_final (void *arg, struct link_map *bootstrap_map_p, HP_TIMING_DIFF (rtld_total_time, start_time, end_time); } - if (_dl_debug_statistics) + if (__builtin_expect (_dl_debug_statistics, 0)) print_statistics (); return *start_addr; -- cgit 1.4.1