ARM: 5776/1: Check compiler version and EABI support when adding ARM unwind support.
authorClaudio Scordino <claudio@evidence.eu.com>
Fri, 30 Oct 2009 11:06:05 +0000 (12:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Nov 2009 16:59:45 +0000 (16:59 +0000)
commit6603a4fd5195a004dec5f9568e38ff76bae630c1
treea623de325bbe8e4ba024daee6bc8263f6da69180
parent426fcd2a351e4bf662fee9fa2cf2603a48223164
ARM: 5776/1: Check compiler version and EABI support when adding ARM unwind support.

ARM unwind is known to compile only with EABI and not-buggy compilers.
The problem is not the unwinding information but the -fno-frame-pointer
option added as a result of !CONFIG_FRAME_POINTER.  Now we check the
compiler and raise a #warning in case of wrong compiler.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/unwind.c