summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-15 06:42:16 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-15 06:42:16 +0000
commit534b7773bfd3cbf90cc1d4431dc03897aac2993f (patch)
tree2f4612b959e57b4192b447605e3a81f959ed8c8c /boehm-gc
parente897d71be3b36bfdf956b46a5d6a2645f49ace66 (diff)
downloadgcc-534b7773bfd3cbf90cc1d4431dc03897aac2993f.tar.gz
* include/private/gcconfig.h: Handle mips64-linux n64 ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/include/private/gcconfig.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index f42faa3accd..eaef529ba80 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-14 David Daney <ddaney@avtrex.com>
+
+ * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
+
2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
* aclocal.m4: Regenerated.
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 288eefb5caf..00170289ed6 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -1369,7 +1369,12 @@
# define DATAEND (_end)
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
-# define ALIGNMENT 4
+# ifdef _MIPS_SZPTR
+# define CPP_WORDSZ _MIPS_SZPTR
+# define ALIGNMENT (_MIPS_SZPTR/8)
+# else
+# define ALIGNMENT 4
+# endif
# define USE_GENERIC_PUSH_REGS
# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
# define LINUX_STACKBOTTOM