Re: [PATCH 6/9] ARM: pass -marm to gcc by default for both C and assembler

2012-10-09 Thread Dave Martin
On Tue, Oct 09, 2012 at 05:23:00PM +0200, 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

[PATCH 6/9] ARM: pass -marm to gcc by default for both C and assembler

2012-10-09 Thread Arnd Bergmann
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 non-T2 builds. Without this patch, building assa