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.10-277-g677760a


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  677760a3076884bd6496e3676b1102db400f79d6 (commit)
      from  85fda49b9674152ca54d49e0028f981566f2554d (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=677760a3076884bd6496e3676b1102db400f79d6

commit 677760a3076884bd6496e3676b1102db400f79d6
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun Aug 16 00:39:43 2009 -0700

    Fix 64-bit platform handling in test cases for generated headers with constants.

diff --git a/ChangeLog b/ChangeLog
index 28a92f4..39bbb2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-16  Ulrich Drepper  <drepper@redhat.com>
+
+	* scripts/gen-as-const.awk: Fix test for 64-bit platform.
+
 2009-08-14  Ulrich Drepper  <drepper@redhat.com>
 
 	* test-skeleton.c (signal_handler): Renamed from timeout_handler.
@@ -58,7 +62,7 @@
 
 	* sysdeps/x86_64/strcmp.S: Add support to compile with
 	USE_SSSE3.  In this case palignr is used.
-	* sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.3 is not
+	* sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.2 is not
 	available but SSSE3 is, pick __str{,n}cmp_ssse3.
 	* sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
 	Add strcmp-ssse3 and strncmp-ssse3.
@@ -1803,7 +1807,7 @@
 	* sysdeps/x86_64/mp_clz_tab.c: New file.
 
 2009-03-17  Ryan S. Arnold  <rsa@us.ibm.com>
-            Ulrich Drepper  <drepper@redhat.com>
+	    Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers.
 	* sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
diff --git a/scripts/gen-as-const.awk b/scripts/gen-as-const.awk
index 20d18c1..1ffd5f2 100644
--- a/scripts/gen-as-const.awk
+++ b/scripts/gen-as-const.awk
@@ -16,7 +16,8 @@ NF >= 1 && !started {
   if (test) {
     print "\n#include <inttypes.h>";
     print "\n#include <stdio.h>";
-    print "\n#if __WORDSIZE__ == 64";
+    print "\n#include <bits/wordsize.h>";
+    print "\n#if __WORDSIZE == 64";
     print "\ntypedef uint64_t c_t;";
     print "\n#define U(n) UINT64_C (n)";
     print "\n#define PRI PRId64";

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

Summary of changes:
 ChangeLog                |    8 ++++++--
 scripts/gen-as-const.awk |    3 ++-
 2 files changed, 8 insertions(+), 3 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]