diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2020-08-07 00:15:02 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2021-02-23 21:46:57 +0100 |
commit | 6dafca97803309c3cb5148d449bfa711e41ddef2 (patch) | |
tree | a1cf7fed79ecf2b3501444ff9cc6248c8f4b62ff /scripts | |
parent | tracing: add support for objtool mcount (diff) | |
download | linux-6dafca97803309c3cb5148d449bfa711e41ddef2.tar.xz linux-6dafca97803309c3cb5148d449bfa711e41ddef2.zip |
x86, build: use objtool mcount
Select HAVE_OBJTOOL_MCOUNT if STACK_VALIDATION is selected to use
objtool to generate __mcount_loc sections for dynamic ftrace with
Clang and gcc <5 (later versions of gcc use -mrecord-mcount).
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions