Re: [PATCH v3 13/30] kbuild: lto: postpone objtool

From: Kees Cook
Date: Fri Sep 18 2020 - 17:27:39 EST


On Fri, Sep 18, 2020 at 01:14:19PM -0700, Sami Tolvanen wrote:
> With LTO, LLVM bitcode won't be compiled into native code until
> modpost_link, or modfinal for modules. This change postpones calls
> to objtool until after these steps, and moves objtool_args to
> Makefile.lib, so the arguments can be reused in Makefile.modfinal.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

Thanks for reorganizing this!

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook