Re: [U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

2010-12-21 Thread Wolfgang Denk
Dear John Rigby, In message <1292894871-1436-1-git-send-email-john.ri...@linaro.org> you wrote: > It can be optimised out by the compiler otherwise resulting > in obscure errors like a board not booting. > > This has been documented in README since 2006 when these were > first fixed up for GCC 4.

Re: [U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

2010-12-21 Thread Albert ARIBAUD
Le 21/12/2010 09:07, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4d104687.4030...@free.fr> you wrote: >> Le 21/12/2010 02:27, John Rigby a =E9crit : >>> It can be optimised out by the compiler otherwise resulting >>> in obscure errors like a board not booting. >>> >>> This has be

Re: [U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

2010-12-21 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d104687.4030...@free.fr> you wrote: > Le 21/12/2010 02:27, John Rigby a =E9crit : > > It can be optimised out by the compiler otherwise resulting > > in obscure errors like a board not booting. > > > > This has been documented in README since 2006 when these were

Re: [U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

2010-12-21 Thread Wolfgang Denk
Dear John Rigby, In message <1292894871-1436-1-git-send-email-john.ri...@linaro.org> you wrote: > It can be optimised out by the compiler otherwise resulting > in obscure errors like a board not booting. > > This has been documented in README since 2006 when these were > first fixed up for GCC 4.

Re: [U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

2010-12-20 Thread Albert ARIBAUD
Le 21/12/2010 02:27, John Rigby a écrit : > It can be optimised out by the compiler otherwise resulting > in obscure errors like a board not booting. > > This has been documented in README since 2006 when these were > first fixed up for GCC 4.x. > > Signed-off-by: John Rigby > --- I think this sho