diff options
author | Andrew Pinski <pinskia@gmail.com> | 2015-02-13 20:44:37 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2015-02-13 20:44:37 +0300 |
commit | b399b13b9e4be18c6a38d315bdb957303f0226d4 (patch) | |
tree | ce66453b578cac872af6297a72a26e5bf45f7973 | |
parent | bf62552626acc7ad8babdc350a6365cb97ec8776 (diff) | |
download | bdwgc-b399b13b9e4be18c6a38d315bdb957303f0226d4.tar.gz |
Add AArch64-32 target support
(Implement boehm-gc for AARCH64:ILP32)
* include/private/gcconfig.h (CPP_WORDSZ, ALIGNMENT): Correct for
AARCH64:ILP32.
-rw-r--r-- | include/private/gcconfig.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index aa80d532..989a7343 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2020,9 +2020,14 @@ # endif # ifdef AARCH64 -# define CPP_WORDSZ 64 # define MACH_TYPE "AARCH64" -# define ALIGNMENT 8 +# ifdef __ILP32__ +# define CPP_WORDSZ 32 +# define ALIGNMENT 4 +# else +# define CPP_WORDSZ 64 +# define ALIGNMENT 8 +# endif # ifndef HBLKSIZE # define HBLKSIZE 4096 # endif |