diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-04-11 19:37:57 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2012-04-11 12:37:57 -0700 |
commit | 98bf0377734efb58f705c9646ef028b5a19acaf3 (patch) | |
tree | 65aaeb14251b91b4d6a1e34a2883a38912ae9ceb /gcc | |
parent | de6f3f7ab8d0ffd3a01bd045a90317d8404c9591 (diff) | |
download | gcc-98bf0377734efb58f705c9646ef028b5a19acaf3.zip gcc-98bf0377734efb58f705c9646ef028b5a19acaf3.tar.gz gcc-98bf0377734efb58f705c9646ef028b5a19acaf3.tar.bz2 |
Define TRY_EMPTY_VM_SPACE to 0x60000000 for x32
2012-04-11 H.J. Lu <hongjiu.lu@intel.com>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Defined to
0x60000000 if __x86_64 is defined and __LP64__ isn't defined.
From-SVN: r186352
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/host-linux.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3fcfca..e95e513 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2012-04-11 H.J. Lu <hongjiu.lu@intel.com> + * config/host-linux.c (TRY_EMPTY_VM_SPACE): Defined to + 0x60000000 if __x86_64 is defined and __LP64__ isn't defined. + +2012-04-11 H.J. Lu <hongjiu.lu@intel.com> + PR rtl-optimization/52876 * emit-rtl.c (set_reg_attrs_from_value): Handle arbitrary value. Don't call mark_reg_pointer for incompatible pointer sign diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index 94b7a0b..b535758 100644 --- a/gcc/config/host-linux.c +++ b/gcc/config/host-linux.c @@ -68,8 +68,10 @@ # define TRY_EMPTY_VM_SPACE 0x10000000000 #elif defined(__ia64) # define TRY_EMPTY_VM_SPACE 0x2000000100000000 -#elif defined(__x86_64) +#elif defined(__x86_64) && defined(__LP64__) # define TRY_EMPTY_VM_SPACE 0x1000000000 +#elif defined(__x86_64) +# define TRY_EMPTY_VM_SPACE 0x60000000 #elif defined(__i386) # define TRY_EMPTY_VM_SPACE 0x60000000 #elif defined(__powerpc__) |