Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Dave Martin wrote: > On Thu, Aug 09, 2012 at 05:22:30PM -0400, Nicolas Pitre wrote: > > On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: > > > > > On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > > > > CFLAGS_THUMB2 should probably be renamed to somethi

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Dave Martin
On Thu, Aug 09, 2012 at 05:22:30PM -0400, Nicolas Pitre wrote: > On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: > > > On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > > > CFLAGS_THUMB2 should probably be renamed to something more appropriate > > > in this case, e.g. CFLAGS_MO

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-09 Thread Nicolas Pitre
On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: > On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > > CFLAGS_THUMB2 should probably be renamed to something more appropriate > > in this case, e.g. CFLAGS_MODE. > > CFLAGS_ISA would be more relevant to it, because it's selecting

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-09 Thread Russell King - ARM Linux
On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > CFLAGS_THUMB2 should probably be renamed to something more appropriate > in this case, e.g. CFLAGS_MODE. CFLAGS_ISA would be more relevant to it, because it's selecting the instruction set. -- To unsubscribe from this list: send the

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-09 Thread Nicolas Pitre
On Wed, 8 Aug 2012, Arnd Bergmann wrote: > The Linaro cross toolchain and probably others nowadays default to > building in THUMB2 mode. When building a kernel for a CPU that does > not support THUMB2, the compiler complains about incorrect flags. > We can work around this by setting -marm for all