[PATCH] ARM: 2778/1: Add -mno-thumb-interwork to CFLAGS_ABI
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 30 Jun 2005 16:04:14 +0000 (17:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Jun 2005 16:04:14 +0000 (17:04 +0100)
commitc28a814f25d48f193565003223df0ae617796892
tree52df77b65b4e51836830e7710f1027f6a72778c2
parentc19cb1df809dcf343dd1eb6fe60d53639dafcb8c
[PATCH] ARM: 2778/1: Add -mno-thumb-interwork to CFLAGS_ABI

Patch from Catalin Marinas

The new EABI gcc adds -mthumb-interwork by default, even if
-mabi=apcs-gnu is passed. This causes a warning for every compiled C
file when -march=armv4 is used. The patch adds -mno-thumb-interwork
if the option is supported. This is also useful since we don't need
any ARM/Thumb interworking in the kernel

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Makefile