]> granicus.if.org Git - gc/commitdiff
2007-08-14 Hans Boehm <Hans.Boehm@hp.com> (really David Daney)
authorhboehm <hboehm>
Tue, 14 Aug 2007 20:57:26 +0000 (20:57 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:41 +0000 (21:06 +0400)
* include/private/gcconfig.h: Add Linux/mips-64 support.

ChangeLog
include/private/gcconfig.h

index 0ec91a14ef3cf55ec044c073cd89351999db3871..6e036d8354f5bb06bd16cb17365c916408643689 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-14  Hans Boehm <Hans.Boehm@hp.com> (really David Daney)
+
+       * include/private/gcconfig.h: Add Linux/mips-64 support.
+
 2007-08-14  Hans Boehm <Hans.Boehm@hp.com> (really mostly Samuel Thibault)
 
        * dbg_mlc.c: Use random() on all glibc systems.
index a41da409e4e10c8d6a607a762aa0841f6e729fba..86b86a77b3bb4cdb1fb4b750b0eac59107c19afc 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
 #     if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
 #        define LINUX_STACKBOTTOM
 #     else