On Tue, Mar 02, 2021 at 10:42:57AM -0800, Kees Cook wrote:
On Tue, Mar 02, 2021 at 06:55:12AM -0500, Sasha Levin wrote:
From: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
[ Upstream commit 6dafca97803309c3cb5148d449bfa711e41ddef2 ]
Select HAVE_OBJTOOL_MCOUNT if STACK_VALIDATION is selected to use
objtool to generate __mcount_loc sections for dynamic ftrace with
Clang and gcc <5 (later versions of gcc use -mrecord-mcount).
Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
This one doesn't make sense without all the other objtool changes for
it. Please drop this from autosel.
Dropped, thanks!
--
Thanks,
Sasha