PATCH: Fix __WORDSIZE for ia64.

H. J. Lu hjl@lucon.org
Fri Aug 1 18:09:00 GMT 2003


On Fri, Aug 01, 2003 at 10:45:39AM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> H. J. Lu wrote:
> 
> > This header file is intended for 64bit ia64. I agree checking __ia64__
> > is not right. _LP64 is a better choice.
> 
> No, it's not, since there is no other supported mode but _LP64.
> 

That is true. Here is the new one.

H.J.
-----
2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/ia64/bits/wordsize.h: New.

--- sysdeps/ia64/bits/wordsize.h.ia64	2003-07-31 15:17:44.000000000 -0700
+++ sysdeps/ia64/bits/wordsize.h	2003-08-01 11:08:07.000000000 -0700
@@ -0,0 +1,3 @@
+/* Determine the wordsize from the preprocessor defines.  */
+#define __WORDSIZE	64
+#define __WORDSIZE_COMPAT32	1



More information about the Libc-alpha mailing list