[PATCH v2 06/28] objtool: Don't autodetect vmlinux.o

Kees Cook keescook at chromium.org
Thu Sep 3 17:52:35 EDT 2020


On Thu, Sep 03, 2020 at 01:30:31PM -0700, Sami Tolvanen wrote:
> With LTO, we run objtool on vmlinux.o, but don't want noinstr
> validation. This change requires --vmlinux to be passed to objtool
> explicitly.
> 
> Suggested-by: Peter Zijlstra <peterz at infradead.org>
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>

Looks right to me.

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the linux-arm-kernel mailing list