Re: [PATCH v2 07/28] kbuild: add support for objtool mcount

2020-09-03 Thread Kees Cook
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 Looks right to me. (There is probably an argument to be made to do all of the tooling d

[PATCH v2 07/28] kbuild: add support for objtool mcount

2020-09-03 Thread Sami Tolvanen
This change adds build support for using objtool to generate __mcount_loc sections. Signed-off-by: Sami Tolvanen --- Makefile | 38 ++ kernel/trace/Kconfig | 5 + scripts/Makefile.build | 9 + 3 files changed, 40 insertions(+), 12