Re: [PATCH, ARM, 4.6] backport PR pch/45979

2012-03-19 Thread Richard Earnshaw
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  
> 
>   Backport from mainline
>   2011-05-05  Michael Hope  
> 
>   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 0x6000
>   #elif defined(__mc68000__)
>   # define TRY_EMPTY_VM_SPACE 0x4000
> +#elif defined(__ARM_EABI__)
> +# define TRY_EMPTY_VM_SPACE 0x6000
>   #else
>   # define TRY_EMPTY_VM_SPACE 0
>   #endif
> 




[PATCH, ARM, 4.6] backport PR pch/45979

2012-03-15 Thread Michael Hope

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

gcc/

2012-03-16  Michael Hope  

Backport from mainline
2011-05-05  Michael Hope  

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_SPACE0x6000
 #elif defined(__mc68000__)
 # define TRY_EMPTY_VM_SPACE0x4000
+#elif defined(__ARM_EABI__)
+# define TRY_EMPTY_VM_SPACE 0x6000
 #else
 # define TRY_EMPTY_VM_SPACE0
 #endif