[PATCH v2 07/28] kbuild: add support for objtool mcount
Kees Cook
keescook at chromium.org
Thu Sep 3 17:56:09 EDT 2020
On Thu, Sep 03, 2020 at 01:30:32PM -0700, 'Sami Tolvanen' via Clang Built Linux wrote:
> This change adds build support for using objtool to generate
> __mcount_loc sections.
>
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>
Looks right to me. (There is probably an argument to be made to do all
of the tooling detection in the Kconfig, but that's a larger issues and
orthogonal to this fix, IMO.)
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list