aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2011-11-17 21:01:08 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2011-11-17 13:01:08 -0800
commit6c1c875d6e70f6577790911cb6df5e0e60a34c9f (patch)
treec7c66b6d2ee8265134fa9a11dab184071c66051b /gcc
parentbb94892a9a0adf8e824881fec03f570464384b31 (diff)
downloadgcc-6c1c875d6e70f6577790911cb6df5e0e60a34c9f.zip
gcc-6c1c875d6e70f6577790911cb6df5e0e60a34c9f.tar.gz
gcc-6c1c875d6e70f6577790911cb6df5e0e60a34c9f.tar.bz2
host-linux.c (TRY_EMPTY_VM_SPACE): Define for MIPS.
2011-11-17 Andrew Pinski <apinski@cavium.com> * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for MIPS. From-SVN: r181456
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/host-linux.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 34749f5..c34126e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-17 Andrew Pinski <apinski@cavium.com>
+
+ * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for MIPS.
+
2011-11-17 Andrew MacLeod <amacleod@redhat.com>
* builtins.c (expand_builtin): Remove 4th parameter representing
diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c
index ec61055..94b7a0b 100644
--- a/gcc/config/host-linux.c
+++ b/gcc/config/host-linux.c
@@ -86,6 +86,10 @@
# define TRY_EMPTY_VM_SPACE 0x40000000
#elif defined(__ARM_EABI__)
# define TRY_EMPTY_VM_SPACE 0x60000000
+#elif defined(__mips__) && defined(__LP64__)
+# define TRY_EMPTY_VM_SPACE 0x8000000000
+#elif defined(__mips__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
#else
# define TRY_EMPTY_VM_SPACE 0
#endif