Hi there.

This patch backports my PCH on ARM EABI fix[1] for pch/PR45979 to the 4.6 
branch.  This
fixes PCH support on ARM and tidies up the random pch testsuite failures that 
are seen
between runs.

OK for 4.6?

-- Michael
[1] http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00017.html


2012-03-16  Michael Hope  <michael.h...@linaro.org>

        Backport from mainline
        2011-05-05  Michael Hope  <michael.h...@linaro.org>

        PR pch/45979
        * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for
        __ARM_EABI__ hosts.

diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c
index 47ce3ea..ec61055 100644
--- a/gcc/config/host-linux.c
+++ b/gcc/config/host-linux.c
@@ -84,6 +84,8 @@
 # define TRY_EMPTY_VM_SPACE    0x60000000
 #elif defined(__mc68000__)
 # define TRY_EMPTY_VM_SPACE    0x40000000
+#elif defined(__ARM_EABI__)
+# define TRY_EMPTY_VM_SPACE     0x60000000
 # define TRY_EMPTY_VM_SPACE    0

Reply via email to