[PATCH 0/2] x86/retpoline,kprobes: Fix the [__indirect_thunk_start, ..end] range

Petr Pavlu posted 2 patches 2 years, 7 months ago
There is a newer version of this series
arch/x86/kernel/vmlinux.lds.S | 4 +---
arch/x86/lib/retpoline.S      | 8 ++++++--
2 files changed, 7 insertions(+), 5 deletions(-)
[PATCH 0/2] x86/retpoline,kprobes: Fix the [__indirect_thunk_start, ..end] range
Posted by Petr Pavlu 2 years, 7 months ago
Fix problems with an output position of thunk sections and the
associated definition of range [__indirect_thunk_start,
__indirect_thunk_end] which affects the kprobes optimization.

Petr Pavlu (2):
  x86/retpoline,kprobes: Fix position of thunk sections with
    CONFIG_LTO_CLANG
  x86/retpoline,kprobes: Avoid treating rethunk as an indirect jump

 arch/x86/kernel/vmlinux.lds.S | 4 +---
 arch/x86/lib/retpoline.S      | 8 ++++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.35.3