History

objtool: Add CONFIG_OBJTOOL

Now that stack validation is an optional feature of objtool, add CONFIG_OBJTOOL and replace most usages of CONFIG_STACK_VALIDATION with it. CONFIG_STACK_VALIDATION can now be considered to be frame-pointer specific. CONFIG_UNWINDER_ORC is already inherently valid for live patching, so no need to "validate" it.

Josh Poimboeuf committed 4 years ago

Commit 03f16cd1 parent c2bdd6117 files · +73 −57Browse files

Showing the changes to kernel (1 of 17 files). Show all

Unified · Split

kernel/trace/Kconfig+1−0
@@ -728,6 +728,7 @@ config FTRACE_MCOUNT_USE_OBJTOOL · 727 unmodified lines
728728 depends on !FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
729729 depends on !FTRACE_MCOUNT_USE_CC
730730 depends on FTRACE_MCOUNT_RECORD
731+ select OBJTOOL
731732
732733 config FTRACE_MCOUNT_USE_RECORDMCOUNT
733734 def_bool y