]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
objtool: Add frame-pointer-specific function ignore
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 14 Sep 2021 14:41:13 +0000 (23:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 13:26:57 +0000 (15:26 +0200)
commitbbbe1b23c7e61e6dd6cd1389cac704ad14cd9d4a
tree2c04bbf890d56e09d71f4484449bcdc01e262631
parentbd3d12e6fda0a7911a0f56f223924bb075b92d1e
objtool: Add frame-pointer-specific function ignore

[ Upstream commit e028c4f7ac7ca8c96126fe46c54ab3d56ffe6a66 ]

Add a CONFIG_FRAME_POINTER-specific version of
STACK_FRAME_NON_STANDARD() for the case where a function is
intentionally missing frame pointer setup, but otherwise needs
objtool/ORC coverage when frame pointers are disabled.

Link: https://lkml.kernel.org/r/163163047364.489837.17377799909553689661.stgit@devnote2
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Stable-dep-of: c8c301abeae5 ("x86/ibt: Add ANNOTATE_NOENDBR")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/objtool.h
tools/include/linux/objtool.h