]> granicus.if.org Git - gc/commitdiff
* 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)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:28 +0000 (10:54 +0400)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127506 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
include/private/gcconfig.h

index f42faa3accde69c329c80d755e642c038d603082..eaef529ba8020d98b65fa6a042f53eb3657ee469 100644 (file)
--- a/ChangeLog
+++ b/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.
index 288eefb5caf86aa8c2ce683ac64ea52bd3098df1..00170289ed6f9dcd983a20292fc47dcddc20b68b 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