]> granicus.if.org Git - gc/commitdiff
Add AArch64-32 target support
authorAndrew Pinski <pinskia@gmail.com>
Fri, 13 Feb 2015 17:44:37 +0000 (20:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 13 Feb 2015 17:44:37 +0000 (20:44 +0300)
(Implement boehm-gc for AARCH64:ILP32)

* include/private/gcconfig.h (CPP_WORDSZ, ALIGNMENT): Correct for
AARCH64:ILP32.

include/private/gcconfig.h

index aa80d532508f0dd9d2939782a04b428687304aaf..989a7343145355c518c0e91b4c4e4c7497da6723 100644 (file)
 # 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