summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-14 17:02:54 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-14 17:02:54 +0000
commitec922194893e192239c1dbbdb073590e414980d5 (patch)
tree9d13d07fc402566b1894305b570213928e4b3006
parent9b16080e83c8236285a5602f424cf5d43749d990 (diff)
downloadeglibc2-ec922194893e192239c1dbbdb073590e414980d5.tar.gz
Backport:
2007-07-13 Carlos O'Donell <carlos@codesourcery.com> * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]: Define __WORDSIZE_COMPAT32 as 1. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_5@3151 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--ports/ChangeLog.eglibc7
-rw-r--r--ports/sysdeps/mips/bits/wordsize.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/ports/ChangeLog.eglibc b/ports/ChangeLog.eglibc
index b9350599e..574531358 100644
--- a/ports/ChangeLog.eglibc
+++ b/ports/ChangeLog.eglibc
@@ -1,3 +1,10 @@
+2007-08-14 Joseph Myers <joseph@codesourcery.com>
+
+ Backport:
+ 2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
+ * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
+ Define __WORDSIZE_COMPAT32 as 1.
+
2007-08-06 Zack Weinberg <zack@codesourcery.com>
* sysdeps/arm/nptl/pthread_spin_lock.S
diff --git a/ports/sysdeps/mips/bits/wordsize.h b/ports/sysdeps/mips/bits/wordsize.h
index 666c7ad07..06967e51a 100644
--- a/ports/sysdeps/mips/bits/wordsize.h
+++ b/ports/sysdeps/mips/bits/wordsize.h
@@ -17,3 +17,6 @@
02111-1307 USA. */
#define __WORDSIZE _MIPS_SZPTR
+#if _MIPS_SIM == _ABI64
+# define __WORDSIZE_COMPAT32 1
+#endif