diff options
author | 2025-05-13 10:35:27 +0200 | |
---|---|---|
committer | 2025-05-13 10:35:27 +0200 | |
commit | 821f82125c47217390099532b09bd09cee9adaac (patch) | |
tree | 26b526b4ffa17e5bd302381bff5d4bbadfe1299d /tools/objtool | |
parent | Merge branch 'x86/bugs' into x86/core, to merge dependent commits (diff) | |
parent | x86/sev: Disentangle #VC handling code from startup code (diff) | |
download | wireguard-linux-821f82125c47217390099532b09bd09cee9adaac.tar.xz wireguard-linux-821f82125c47217390099532b09bd09cee9adaac.zip |
Merge branch 'x86/boot' into x86/core, to merge dependent commits
Prepare to resolve conflicts with an upstream series of fixes that conflict
with pending x86 changes:
6f5bf947bab0 Merge tag 'its-for-linus-20250509' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/arch/x86/decode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c index 3ce7b54003c2..331b9a744410 100644 --- a/tools/objtool/arch/x86/decode.c +++ b/tools/objtool/arch/x86/decode.c @@ -842,12 +842,14 @@ int arch_decode_hint_reg(u8 sp_reg, int *base) bool arch_is_retpoline(struct symbol *sym) { - return !strncmp(sym->name, "__x86_indirect_", 15); + return !strncmp(sym->name, "__x86_indirect_", 15) || + !strncmp(sym->name, "__pi___x86_indirect_", 20); } bool arch_is_rethunk(struct symbol *sym) { - return !strcmp(sym->name, "__x86_return_thunk"); + return !strcmp(sym->name, "__x86_return_thunk") || + !strcmp(sym->name, "__pi___x86_return_thunk"); } bool arch_is_embedded_insn(struct symbol *sym) |