Skip to content
Commit 41425ebe authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Kees Cook
Browse files

objtool: Split noinstr validation from --vmlinux



This change adds a --noinstr flag to objtool to allow us to specify
that we're processing vmlinux.o without also enabling noinstr
validation. This is needed to avoid false positives with LTO when we
run objtool on vmlinux.o without CONFIG_DEBUG_ENTRY.

Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 6dafca97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment