This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-603-g7e73e17
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Apr 2012 23:17:58 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-603-g7e73e17
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 7e73e17d3f34799fe3108391197198a1cd1adb08 (commit)
from c7a6ab72e920bc442896a6e33fdcd7b318539859 (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=7e73e17d3f34799fe3108391197198a1cd1adb08
commit 7e73e17d3f34799fe3108391197198a1cd1adb08
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Apr 13 16:17:14 2012 -0700
Add __ILP32__ check when defining __WORDSIZE
diff --git a/ChangeLog b/ChangeLog
index 2a331e6..718824d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
+ __ILP32__.
+
2012-04-13 Antoine Balestrat <merkil33@gmail.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
diff --git a/sysdeps/x86_64/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h
index a40a0d8..9b38756 100644
--- a/sysdeps/x86_64/bits/wordsize.h
+++ b/sysdeps/x86_64/bits/wordsize.h
@@ -1,6 +1,6 @@
/* Determine the wordsize from the preprocessor defines. */
-#if defined __x86_64__
+#if defined __x86_64__ && !defined __ILP32__
# define __WORDSIZE 64
# define __WORDSIZE_COMPAT32 1
#else
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/x86_64/bits/wordsize.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources