Message ID | 4F629A3E.1020600@linaro.org |
---|---|
State | New |
Headers | show |
On 16/03/12 01:41, Michael Hope wrote: > 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? > OK. R. > -- Michael > [1] http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00017.html > > gcc/ > > 2012-03-16 Michael Hope <michael.hope@linaro.org> > > Backport from mainline > 2011-05-05 Michael Hope <michael.hope@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 > #else > # define TRY_EMPTY_VM_SPACE 0 > #endif >
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 #else # define TRY_EMPTY_VM_SPACE 0 #endif