]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm, unwind, LLVMLinux: Enable clang to be used for unwinding the stack
authorMark Charlebois <charlebm@gmail.com>
Wed, 12 Feb 2014 03:26:08 +0000 (19:26 -0800)
committerBehan Webster <behanw@converseincode.com>
Sat, 7 Jun 2014 18:44:39 +0000 (11:44 -0700)
commite6b80757700a11315dd81b161f8d86099214c185
tree6d86b7b59a31caa0b1354e4a7d093553414794b5
parent76ae03828756bac2c1fa2c7eff7485e5f815dbdb
arm, unwind, LLVMLinux: Enable clang to be used for unwinding the stack

Patch to prevent warning of a buggy compiler when using clang and
the ARM_UNWIND option.

Clang defines (at least on the current trunk) GNUC, GNUC_MINOR, and
GNUC_PATCHLEVEL to 4, 2, and 1 respectively.

This version of GCC gets flagged as buggy, but it isn't actually an
issue with clang so the patch will do what it did before unless clang
is defined and then it will not report the GCC version as an issue.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
arch/arm/kernel/unwind.c