From: schwab Date: Wed, 16 Mar 2016 11:44:36 +0000 (+0000) Subject: Summary: boehm-gc: add support for aarch64 ILP32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d552a47238e05739daf22c8730dff5f949181178;p=thirdparty%2Fgcc.git Summary: boehm-gc: add support for aarch64 ILP32 * include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ): Define for __ILP32__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234255 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 365038e4bfe2..c41734a3cc52 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2016-03-16 Andreas Schwab + + * include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ): + Define for __ILP32__. + 2015-10-09 David Malcolm * testsuite/lib/boehm-gc.exp: Load multiline.exp before diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 7e081d993bb0..aa81f15b06cd 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -1854,9 +1854,14 @@ # endif # ifdef AARCH64 -# define CPP_WORDSZ 64 +# ifdef __ILP32__ +# define ALIGNMENT 4 +# define CPP_WORDSZ 32 +# else +# define ALIGNMENT 8 +# define CPP_WORDSZ 64 +# endif # define MACH_TYPE "AARCH64" -# define ALIGNMENT 8 # ifndef HBLKSIZE # define HBLKSIZE 4096 # endif