diff options
Diffstat (limited to 'libgc/include')
-rw-r--r-- | libgc/include/private/gcconfig.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h index 0069b8ed611..519f831229d 100644 --- a/libgc/include/private/gcconfig.h +++ b/libgc/include/private/gcconfig.h @@ -1376,7 +1376,12 @@ # define DATAEND (_end) extern int __data_start[]; # define DATASTART ((ptr_t)(__data_start)) -# define ALIGNMENT 4 +# if defined(_MIPS_SZPTR) && (_MIPS_SZPTR == 64) +# define ALIGNMENT 8 +# define CPP_WORDSZ 64 +# else +# define ALIGNMENT 4 +# endif # define USE_GENERIC_PUSH_REGS # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2 # define LINUX_STACKBOTTOM |