]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit10ad42d218a877cc1027c201269e3046e2937a61
tree52df77b65b4e51836830e7710f1027f6a72778c2
parent378c54df7626180c91f7ab80626b2c4d4c86c629
[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