From: hboehm Date: Tue, 14 Aug 2007 20:57:26 +0000 (+0000) Subject: 2007-08-14 Hans Boehm (really David Daney) X-Git-Tag: gc7_1alpha2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2f0cd8a4a40f6a9822ef2f66c3e4cc601defa88;p=gc 2007-08-14 Hans Boehm (really David Daney) * include/private/gcconfig.h: Add Linux/mips-64 support. --- diff --git a/ChangeLog b/ChangeLog index 0ec91a14..6e036d83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-08-14 Hans Boehm (really David Daney) + + * include/private/gcconfig.h: Add Linux/mips-64 support. + 2007-08-14 Hans Boehm (really mostly Samuel Thibault) * dbg_mlc.c: Use random() on all glibc systems. diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index a41da409..86b86a77 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1322,7 +1322,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 # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2 # define LINUX_STACKBOTTOM # else