[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r3758 - in /fsf/trunk/libc: ./ localedata/ localedata/locales/ sysdeps/x86_64/
- To: commits@xxxxxxxxxx
- Subject: [commits] r3758 - in /fsf/trunk/libc: ./ localedata/ localedata/locales/ sysdeps/x86_64/
- From: eglibc@xxxxxxxxxx
- Date: Wed, 10 Oct 2007 07:03:41 -0000
Author: eglibc
Date: Wed Oct 10 00:03:39 2007
New Revision: 3758
Log:
Import glibc-mainline for 2007-10-10
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/localedata/ChangeLog
fsf/trunk/libc/localedata/locales/de_DE
fsf/trunk/libc/localedata/locales/fr_FR
fsf/trunk/libc/sysdeps/x86_64/cacheinfo.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Wed Oct 10 00:03:39 2007
@@ -1,3 +1,8 @@
+2007-10-09 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem
+ with some Pentium Ds.
+
2007-10-08 Ulrich Drepper <drepper@xxxxxxxxxx>
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
Modified: fsf/trunk/libc/localedata/ChangeLog
==============================================================================
--- fsf/trunk/libc/localedata/ChangeLog (original)
+++ fsf/trunk/libc/localedata/ChangeLog Wed Oct 10 00:03:39 2007
@@ -1,3 +1,8 @@
+2007-10-09 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * locales/de_DE: Set first week day to Monday.
+ * locales/fr_FR: Likewise.
+
2007-10-07 Ulrich Drepper <drepper@xxxxxxxxxx>
[BZ #73]
Modified: fsf/trunk/libc/localedata/locales/de_DE
==============================================================================
--- fsf/trunk/libc/localedata/locales/de_DE (original)
+++ fsf/trunk/libc/localedata/locales/de_DE Wed Oct 10 00:03:39 2007
@@ -75,6 +75,8 @@
END LC_CTYPE
LC_COLLATE
+
+define DIACRIT_FORWARD
% Copy the template from ISO/IEC 14651
copy "iso14651_t1"
@@ -118,7 +120,6 @@
"<U0044><U006F><U006E><U006E><U0065><U0072><U0073><U0074><U0061><U0067>";/
"<U0046><U0072><U0065><U0069><U0074><U0061><U0067>";/
"<U0053><U0061><U006D><U0073><U0074><U0061><U0067>"
-week 7;19971201;4
abmon "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
"<U004D><U00E4><U0072>";"<U0041><U0070><U0072>";/
"<U004D><U0061><U0069>";"<U004A><U0075><U006E>";/
@@ -153,6 +154,10 @@
date_fmt "<U0025><U0061><U0020><U0025><U002D><U0064><U002E><U0020>/
<U0025><U0062><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>/
<U0020><U0025><U005A><U0020><U0025><U0059>"
+
+week 7;19971201;4
+first_weekday 1
+first_workday 1
END LC_TIME
LC_MESSAGES
Modified: fsf/trunk/libc/localedata/locales/fr_FR
==============================================================================
--- fsf/trunk/libc/localedata/locales/fr_FR (original)
+++ fsf/trunk/libc/localedata/locales/fr_FR Wed Oct 10 00:03:39 2007
@@ -129,6 +129,10 @@
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
+
+week 7;19971201;4
+first_weekday 1
+first_workday 1
END LC_TIME
LC_PAPER
Modified: fsf/trunk/libc/sysdeps/x86_64/cacheinfo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/cacheinfo.c (original)
+++ fsf/trunk/libc/sysdeps/x86_64/cacheinfo.c Wed Oct 10 00:03:39 2007
@@ -456,6 +456,13 @@
asm volatile ("cpuid"
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
: "0" (4), "2" (i++));
+
+ /* There seems to be a bug in at least some Pentium Ds
+ which sometimes fail to iterate all cache parameters.
+ Do not loop indefinitely here, stop in this case and
+ assume there is no such information. */
+ if ((eax & 0x1f) == 0)
+ goto intel_bug_no_cache_info;
}
while (((eax >> 5) & 0x7) != level);
@@ -463,6 +470,7 @@
}
else
{
+ intel_bug_no_cache_info:
/* Assume that all logical threads share the highest cache level. */
asm volatile ("cpuid"
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)