diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | include/private/gcconfig.h | 7 |
2 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy +Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua> + + * include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS. + Add an additional condition for a proper defining of ALIGNMENT + and CPP_WORDSZ. + 2009-04-10 Zoltan Varga <vargaz@gmail.com> * include/private/gc_locks.h (GC_test_and_set): Merge a change from libgc diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 0069b8ed..519f8312 100644 --- a/include/private/gcconfig.h +++ b/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 |