OSDN Git Service

* include/private/gcconfig.h: Handle mips64-linux n64 ABI.
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Aug 2007 06:42:16 +0000 (06:42 +0000)
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Aug 2007 06:42:16 +0000 (06:42 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127506 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h

index f42faa3..eaef529 100644 (file)
@@ -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.
index 288eefb..0017028 100644 (file)
 #     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