Hello!

> This patch defines TRY_EMPTY_VM_SPACE for Linux/x32.  Tested on Linux/x32.
> OK for trunk?
>
> 2012-04-03  H.J. Lu  <hongjiu...@intel.com>
>
>       * config/host-linux.c (TRY_EMPTY_VM_SPACE): Defined to
>       0x60000000 for x32.

I think we can simply check for __LP64__, without version check, as is
the case with SPARC and MIPS targets.

Uros.

Index: host-linux.c
===================================================================
--- host-linux.c        (revision 186141)
+++ host-linux.c        (working copy)
@@ -68,8 +68,10 @@
 # define TRY_EMPTY_VM_SPACE    0x10000000000
 #elif defined(__ia64)
 # define TRY_EMPTY_VM_SPACE    0x2000000100000000
+#elif defined(__x86_64) && defined(__LP64__)
+# define TRY_EMPTY_VM_SPACE    0x1000000000
 #elif defined(__x86_64)
-# define TRY_EMPTY_VM_SPACE    0x1000000000
+# define TRY_EMPTY_VM_SPACE    0x60000000
 #elif defined(__i386)
 # define TRY_EMPTY_VM_SPACE    0x60000000
 #elif defined(__powerpc__)

Reply via email to