From f2b6bf20c6ae833e9a3b5cc5564511a44a540f1f Mon Sep 17 00:00:00 2001 From: David Daney Date: Wed, 15 Aug 2007 06:42:16 +0000 Subject: * include/private/gcconfig.h: Handle mips64-linux n64 ABI. From-SVN: r127506 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/include/private/gcconfig.h | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'boehm-gc') diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index f42faa3..eaef529 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2007-08-14 David Daney + + * include/private/gcconfig.h: Handle mips64-linux n64 ABI. + 2007-07-05 H.J. Lu * aclocal.m4: Regenerated. diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 288eefb..0017028 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -1369,7 +1369,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 # define USE_GENERIC_PUSH_REGS # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2 # define LINUX_STACKBOTTOM -- cgit v1.1