aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2007-07-13 12:48:34 +0000
committerDaniel Jacobowitz <dan@codesourcery.com>2007-07-13 12:48:34 +0000
commit391da2016b6daffbb764589bc1e64cd10820249a (patch)
tree2ccc5ed69e5c0ef46c85c29f8080ee1a56d13dc8
parente9f19437e2da14c26d964d19e3f945229825dd00 (diff)
downloadglibc-391da2016b6daffbb764589bc1e64cd10820249a.tar.xz
glibc-391da2016b6daffbb764589bc1e64cd10820249a.zip
2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]: Define __WORDSIZE_COMPAT32 as 1.
-rw-r--r--ChangeLog.mips5
-rw-r--r--sysdeps/mips/bits/wordsize.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 32e0580d4f..43aadf8d39 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
+
+ * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
+ Define __WORDSIZE_COMPAT32 as 1.
+
2007-07-13 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
diff --git a/sysdeps/mips/bits/wordsize.h b/sysdeps/mips/bits/wordsize.h
index 666c7ad07e..06967e51a1 100644
--- a/sysdeps/mips/bits/wordsize.h
+++ b/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