objtool: Add fortify_panic as __noreturn function
commit92b0a1416be587b87c8ff489b6a74fd929048ca7
authorKees Cook <keescook@chromium.org>
Thu, 15 Jun 2017 13:20:35 +0000 (15 08:20 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 16 Jun 2017 08:50:59 +0000 (16 10:50 +0200)
tree6e2396bb8018a21ada441c74d8c96dd2c0a12055
parent63f700aab4c11d46626de3cd051dae56cf7e9056
objtool: Add fortify_panic as __noreturn function

CONFIG_FORTIFY_SOURCE=y implements fortify_panic() as a __noreturn function,
so objtool needs to know about it too.

Suggested-by: Daniel Micay <danielmicay@gmail.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1497532835-32704-1-git-send-email-jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/builtin-check.c