ARM: 5904/1: ARM: Always generate the IT instruction when compiling for Thumb-2
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 26 Jan 2010 18:09:48 +0000 (19:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Jan 2010 16:13:23 +0000 (16:13 +0000)
commitc540b9ff0f8679ba924fac072aeb7d63fa473190
tree74c17fd0a1927faaf4557472abe6ee73987ea71a
parentdf2e615a3b3a66d0731e3309e9731970a6c51268
ARM: 5904/1: ARM: Always generate the IT instruction when compiling for Thumb-2

Current behaviour is to generate the IT instruction only for Thumb-2
code. However, the kernel helpers in entry-armv.S are compiled to ARM in
a unified syntax file (if THUMB2_KERNEL). Recent compilers warn about
missing IT instruction in unified assembly syntax files. The patch
changes the "-mimplicit-it" gas option to "always".

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