]> git.baikalelectronics.ru Git - kernel.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)
commitc4fa362d618c83fb614317ce1cff00dd9b03eb5b
tree6d86b7b59a31caa0b1354e4a7d093553414794b5
parent3523f583c3f2cda21c849bd62c85d91461f1fb2b
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