about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-23 19:05:32 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-23 19:05:32 +0000
commit9836cfe7dbf10e2a1705d1cd49b89ad81c7ff638 (patch)
treebec4f44d38b6dd45e76bd956beb363dd5760ed28
parent7fec4f2f70d417b858127d340f7e8f66d8053572 (diff)
downloadglibc-9836cfe7dbf10e2a1705d1cd49b89ad81c7ff638.tar.gz
glibc-9836cfe7dbf10e2a1705d1cd49b89ad81c7ff638.tar.xz
glibc-9836cfe7dbf10e2a1705d1cd49b89ad81c7ff638.zip
Update.
	* elf/dl-fini.c (_dl_fini): Print some final statistics on the
	total number of relocations performed.
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-fini.c11
-rw-r--r--localedata/ChangeLog5
-rw-r--r--localedata/locales/zh_HK32
4 files changed, 37 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 822a50cc96..9d862d39cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-02-23  Ulrich Drepper  <drepper@redhat.com>
 
+	* 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 902ce086d9..5beb24b042 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 f2c6e96c6d..3a1e2a9714 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-23  Ulrich Drepper  <drepper@redhat.com>
+
+	* locales/zh_HK: Correct date information.
+	Patch by Anthony Fok <anthony@thizlinux.com>.
+
 2002-02-13  Ulrich Drepper  <drepper@redhat.com>
 
 	* locales/sr_YU: Correct month entries for June and July
diff --git a/localedata/locales/zh_HK b/localedata/locales/zh_HK
index 17c2fd329a..0439fcc4a8 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 <anthony@thizlinux.com>, Feb 2002
 % Abbreviated weekday names (%a)
-abday       "<U65E5><U0020>";"<U4E00><U0020>";/
-            "<U4E8C><U0020>";"<U4E09><U0020>";/
-            "<U56DB><U0020>";"<U4E94><U0020>";/
-            "<U516D><U0020>"
+abday       "<U65E5>";"<U4E00>";/
+            "<U4E8C>";"<U4E09>";/
+            "<U56DB>";"<U4E94>";/
+            "<U516D>"
 %
+% Removed trailing space, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
 % Full weekday names (%A)
-day         "<U661F><U671F><U65E5><U0020>";"<U661F><U671F><U4E00><U0020>";/
-            "<U661F><U671F><U4E8C><U0020>";"<U661F><U671F><U4E09><U0020>";/
-            "<U661F><U671F><U56DB><U0020>";"<U661F><U671F><U4E94><U0020>";/
-            "<U661F><U671F><U516D><U0020>"
+day         "<U661F><U671F><U65E5>";"<U661F><U671F><U4E00>";/
+            "<U661F><U671F><U4E8C>";"<U661F><U671F><U4E09>";/
+            "<U661F><U671F><U56DB>";"<U661F><U671F><U4E94>";/
+            "<U661F><U671F><U516D>"
 %
 % Abbreviated month names (%b)
 abmon       "<U0031><U6708>";"<U0032><U6708>";/
@@ -113,14 +115,16 @@ mon         "<U4E00><U6708>";"<U4E8C><U6708>";/
 am_pm       "<U4E0A><U5348>";"<U4E0B><U5348>"
 %
 % Appropriate date and time representation
-% Update by Roger So <spacehunt@e-fever.org>
-d_t_fmt     "<U0025><U0059><U5E74><U0025><U0062><U6708><U0025><U0064>/
-<U65E5><U0020><U0025><U0070><U0020><U0025><U0049><U003A><U0025><U004D>/
+% Update by Roger So <roger.so@sw-linux.com>
+% Changed %b to %m, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
+d_t_fmt     "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U65E5>/
+<U0020><U0025><U0041><U0020><U0025><U0048><U003A><U0025><U004D>/
 <U003A><U0025><U0053>"
 %
 % Appropriate date representation
-% %Y年%b月%d日 %A
-d_fmt       "<U0025><U0059><U5E74><U0025><U0062><U6708><U0025><U0064>/
+% Changed %b to %m, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
+% %Y年%m月%d日 %A
+d_fmt       "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064>/
 <U65E5><U0020><U0025><U0041>"
 %
 % Appropriate time representation
@@ -129,7 +133,7 @@ t_fmt       "<U0025><U0049><U6642><U0025><U004D><U5206><U0025><U0053>/
 <U79D2><U0020><U0025><U005A>"
 %
 % Appropriate 12 h time representation (%r)
-% Update by Roger So <spacehunt@e-fever.org>
+% Update by Roger So <roger.so@sw-linux.com>
 t_fmt_ampm  "<U0025><U0070><U0020><U0025><U0049><U003A><U0025><U004D>/
 <U003A><U0025><U0053>"
 %