diff options
author | Kees Cook <keescook@chromium.org> | 2020-08-21 12:43:03 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-09-01 10:03:18 +0200 |
commit | a850958c072404f75dd41782cb4ff34b8625b47d (patch) | |
tree | 674a8fa2b3d7f0ce869729f30ad8c5dde35797f0 /arch/x86/kernel/vmlinux.lds.S | |
parent | 7e8c4ed2638d08a1604c87b60ed7161bf92e6f86 (diff) | |
download | linux-a850958c072404f75dd41782cb4ff34b8625b47d.tar.bz2 |
x86/asm: Avoid generating unused kprobe sections
When !CONFIG_KPROBES, do not generate kprobe sections. This makes
sure there are no unexpected sections encountered by the linker scripts.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200821194310.3089815-23-keescook@chromium.org
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions