mirror of git://gcc.gnu.org/git/gcc.git
Merge upstream x32 support into boehm-gc
Merge upstream changes * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32. (CPP_WORDSZ): Set to 32 for x32. From-SVN: r187412
This commit is contained in:
parent
d2b21f2062
commit
dddb75f3fa
|
@ -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>
|
2012-02-27 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||||
Patrick Marlier <patrick.marlier@gmail.com>
|
Patrick Marlier <patrick.marlier@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -1974,8 +1974,13 @@
|
||||||
|
|
||||||
# ifdef X86_64
|
# ifdef X86_64
|
||||||
# define MACH_TYPE "X86_64"
|
# define MACH_TYPE "X86_64"
|
||||||
# define ALIGNMENT 8
|
# ifdef __ILP32__
|
||||||
# define CPP_WORDSZ 64
|
# define ALIGNMENT 4
|
||||||
|
# define CPP_WORDSZ 32
|
||||||
|
# else
|
||||||
|
# define ALIGNMENT 8
|
||||||
|
# define CPP_WORDSZ 64
|
||||||
|
# endif
|
||||||
# ifndef HBLKSIZE
|
# ifndef HBLKSIZE
|
||||||
# define HBLKSIZE 4096
|
# define HBLKSIZE 4096
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue