]> Git Repo - linux.git/commit - scripts/Makefile.build
objtool: Add retpoline validation
authorPeter Zijlstra <[email protected]>
Tue, 16 Jan 2018 09:24:06 +0000 (10:24 +0100)
committerIngo Molnar <[email protected]>
Wed, 21 Feb 2018 08:05:04 +0000 (09:05 +0100)
commitb5bc2231b8ad4387c9641f235ca0ad8cd300b6df
treea6ce9e09e9f1424f9506bf8b1ba375c88a044a76
parent43a4525f80534530077683f6472d8971646b0ace
objtool: Add retpoline validation

David requested a objtool validation pass for CONFIG_RETPOLINE=y enabled
builds, where it validates no unannotated indirect  jumps or calls are
left.

Add an additional .discard.retpoline_safe section to allow annotating
the few indirect sites that are required and safe.

Requested-by: David Woodhouse <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
scripts/Makefile.build
tools/objtool/builtin-check.c
tools/objtool/builtin.h
tools/objtool/check.c
tools/objtool/check.h
This page took 0.055097 seconds and 4 git commands to generate.