aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2016-03-16 11:44:36 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2016-03-16 11:44:36 +0000
commit197adb69832f8e211e9d421aed2e35e882544d22 (patch)
tree7c45e11511a9f4dfbdbc3def744beb4b5f929614 /boehm-gc/include
parent446fd64280bf3e1b7fb98fcb9f22bcdc13439b24 (diff)
downloadgcc-197adb69832f8e211e9d421aed2e35e882544d22.zip
gcc-197adb69832f8e211e9d421aed2e35e882544d22.tar.gz
gcc-197adb69832f8e211e9d421aed2e35e882544d22.tar.bz2
Summary: boehm-gc: add support for aarch64 ILP32
* include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ): Define for __ILP32__. From-SVN: r234255
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 7e081d9..aa81f15 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