svn commit: trunk/uClibc/libc/sysdeps/linux/mips/bits

andersen at uclibc.org andersen at uclibc.org
Sat Nov 4 19:44:51 UTC 2006


Author: andersen
Date: 2006-11-04 11:44:51 -0800 (Sat, 04 Nov 2006)
New Revision: 16497

Log:
mips64 patch from Atsushi Nemoto:
The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used
for WORDSIZE.  This is came from glibc code.


Modified:
   trunk/uClibc/libc/sysdeps/linux/mips/bits/wordsize.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/mips/bits/wordsize.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/mips/bits/wordsize.h	2006-11-04 19:44:00 UTC (rev 16496)
+++ trunk/uClibc/libc/sysdeps/linux/mips/bits/wordsize.h	2006-11-04 19:44:51 UTC (rev 16497)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 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
@@ -16,4 +16,4 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __WORDSIZE	32
+#define __WORDSIZE	_MIPS_SZPTR




More information about the uClibc-cvs mailing list