This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-404-gc196fed


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  c196fed8f01a8599dd43edf1c7a1ea3ba9ed0598 (commit)
      from  8ec250a48425e8640fc01504bc1a42b63467768e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c196fed8f01a8599dd43edf1c7a1ea3ba9ed0598

commit c196fed8f01a8599dd43edf1c7a1ea3ba9ed0598
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Fri Oct 21 20:47:20 2011 -0400

    Fix compilation problems in x86-64 init-arch

diff --git a/ChangeLog b/ChangeLog
index 404e1fe..2a15d9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
 
+	* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
+	compilation problems.
+
 	* sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
 	__builtin_expect.
 
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c
index 3fde5d9..65b0ee9 100644
--- a/sysdeps/x86_64/multiarch/init-arch.c
+++ b/sysdeps/x86_64/multiarch/init-arch.c
@@ -124,7 +124,7 @@ __init_cpu_features (void)
 
       get_common_indeces (&family, &model);
 
-      unsigned int ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
+      ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
 
       /* AMD processors prefer SSE instructions for memory/string routines
 	 if they are available, otherwise they prefer integer instructions.  */
@@ -132,6 +132,7 @@ __init_cpu_features (void)
 	__cpu_features.feature[index_Prefer_SSE_for_memop]
 	  |= bit_Prefer_SSE_for_memop;
 
+      unsigned int eax;
       __cpuid (0x80000000, eax, ebx, ecx, edx);
       if (eax >= 0x80000001)
 	__cpuid (0x80000001,

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                            |    3 +++
 sysdeps/x86_64/multiarch/init-arch.c |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]