]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Summary: boehm-gc: add support for aarch64 ILP32
authorAndreas Schwab <schwab@suse.de>
Wed, 16 Mar 2016 11:44:36 +0000 (11:44 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Wed, 16 Mar 2016 11:44:36 +0000 (11:44 +0000)
* include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ):
Define for __ILP32__.

From-SVN: r234255

boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h

index 365038e4bfe26bd46c2a04a7b0bd7f3348359998..c41734a3cc5299b051c441992e3f7400e40694c7 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-16  Andreas Schwab  <schwab@suse.de>
+
+       * include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ):
+       Define for __ILP32__.
+
 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
 
        * testsuite/lib/boehm-gc.exp: Load multiline.exp before
index 7e081d993bb09b7ecb201bf9a1c8ec95a8bde47c..aa81f15b06cd4f4366f8d5ca943e4cb68128c8b4 100644 (file)
 # 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