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-443-g5e52b18
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Mar 2012 23:01:13 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-443-g5e52b18
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 5e52b189f0a3b74605044950f40fca8d289a200c (commit)
from e1497744f0b7a737684e61509874d3b8a98d05e2 (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=5e52b189f0a3b74605044950f40fca8d289a200c
commit 5e52b189f0a3b74605044950f40fca8d289a200c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Mar 19 16:00:52 2012 -0700
Check __x86_64__ instead of __WORDSIZE in mathdef.h
diff --git a/ChangeLog b/ChangeLog
index 285007b..7c4968a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
+ Check __x86_64__ instead of __WORDSIZE.
+
+2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
+
* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2012-03-19 David S. Miller <davem@davemloft.net>
diff --git a/sysdeps/x86_64/bits/mathdef.h b/sysdeps/x86_64/bits/mathdef.h
index 846a350..c202ad5 100644
--- a/sysdeps/x86_64/bits/mathdef.h
+++ b/sysdeps/x86_64/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,7 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
-# include <bits/wordsize.h>
-
-# if __WORDSIZE == 64 || (defined __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ == 0)
+# if defined __x86_64__ || (defined __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ == 0)
/* The x86-64 architecture computes values with the precission of the
used type. Similarly for -m32 -mfpmath=sse. */
typedef float float_t; /* `float' expressions are evaluated as `float'. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/x86_64/bits/mathdef.h | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources