]> gcc.gnu.org Git - gcc.git/commitdiff
Merge upstream x32 support into boehm-gc
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 11 May 2012 17:46:30 +0000 (17:46 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 11 May 2012 17:46:30 +0000 (10:46 -0700)
Merge upstream changes
* include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
(CPP_WORDSZ): Set to 32 for x32.

From-SVN: r187412

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

index fcefa849157d2e9980bc7408cf3d9a05fa3c08e5..0d8308365830159c8f699a1168b948019f64d749 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Merge upstream changes
+       * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
+       (CPP_WORDSZ): Set to 32 for x32.
+
 2012-02-27  Jack Howarth  <howarth@bromo.med.uc.edu>
            Patrick Marlier  <patrick.marlier@gmail.com>
 
index fb09cf73cc0df670b0402006be1ad0049b408732..0263c13fd885aad19bc7d62d69acefe743d14ca8 100644 (file)
 
 # ifdef X86_64
 #   define MACH_TYPE "X86_64"
-#   define ALIGNMENT 8
-#   define CPP_WORDSZ 64
+#   ifdef __ILP32__
+#     define ALIGNMENT 4
+#     define CPP_WORDSZ 32
+#   else
+#     define ALIGNMENT 8
+#     define CPP_WORDSZ 64
+#   endif
 #   ifndef HBLKSIZE
 #     define HBLKSIZE 4096
 #   endif
This page took 0.068045 seconds and 5 git commands to generate.