From 9836cfe7dbf10e2a1705d1cd49b89ad81c7ff638 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Feb 2002 19:05:32 +0000 Subject: Update. * elf/dl-fini.c (_dl_fini): Print some final statistics on the total number of relocations performed. --- ChangeLog | 3 +++ elf/dl-fini.c | 11 +++++++++++ localedata/ChangeLog | 5 +++++ localedata/locales/zh_HK | 32 ++++++++++++++++++-------------- 4 files changed, 37 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 822a50c..9d862d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-02-23 Ulrich Drepper + * elf/dl-fini.c (_dl_fini): Print some final statistics on the + total number of relocations performed. + * elf/sprof.c (load_profdata): If do_test provide information as to why loading failed. * elf/dl-profile.c (_dl_start_profile): Initialize all of diff --git a/elf/dl-fini.c b/elf/dl-fini.c index 902ce08..5beb24b 100644 --- a/elf/dl-fini.c +++ b/elf/dl-fini.c @@ -169,4 +169,15 @@ _dl_fini (void) ((fini_t) DL_DT_FINI_ADDRESS (l, l->l_addr + l->l_info[DT_FINI]->d_un.d_ptr)) (); } } + + if (__builtin_expect (GL(dl_debug_mask) & DL_DEBUG_STATISTICS, 0)) + { + INTUSE(_dl_debug_printf) ("\nruntime linker statistics:\n"); + INTUSE(_dl_debug_printf) ("\ + final number of relocations: %lu\n", + GL(dl_num_relocations)); + INTUSE(_dl_debug_printf) ("\ +final number of relocations from cache: %lu\n", + GL(dl_num_cache_relocations)); + } } diff --git a/localedata/ChangeLog b/localedata/ChangeLog index f2c6e96..3a1e2a9 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2002-02-23 Ulrich Drepper + + * locales/zh_HK: Correct date information. + Patch by Anthony Fok . + 2002-02-13 Ulrich Drepper * locales/sr_YU: Correct month entries for June and July diff --git a/localedata/locales/zh_HK b/localedata/locales/zh_HK index 17c2fd3..0439fcc 100644 --- a/localedata/locales/zh_HK +++ b/localedata/locales/zh_HK @@ -81,17 +81,19 @@ LC_TIME % These are generated based on XML base Locale difintion file % for IBM Class for Unicode/Java % +% Removed trailing space, by Anthony Fok , Feb 2002 % Abbreviated weekday names (%a) -abday "";"";/ - "";"";/ - "";"";/ - "" +abday "";"";/ + "";"";/ + "";"";/ + "" % +% Removed trailing space, by Anthony Fok , Feb 2002 % Full weekday names (%A) -day "";"";/ - "";"";/ - "";"";/ - "" +day "";"";/ + "";"";/ + "";"";/ + "" % % Abbreviated month names (%b) abmon "";"";/ @@ -113,14 +115,16 @@ mon "";"";/ am_pm "";"" % % Appropriate date and time representation -% Update by Roger So -d_t_fmt "/ -/ +% Update by Roger So +% Changed %b to %m, by Anthony Fok , Feb 2002 +d_t_fmt "/ +/ " % % Appropriate date representation -% %Y年%b月%d日 %A -d_fmt "/ +% Changed %b to %m, by Anthony Fok , Feb 2002 +% %Y年%m月%d日 %A +d_fmt "/ " % % Appropriate time representation @@ -129,7 +133,7 @@ t_fmt "/ " % % Appropriate 12 h time representation (%r) -% Update by Roger So +% Update by Roger So t_fmt_ampm "/ " % -- cgit v1.1