projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'torvalds/master' into perf/core
[linux-2.6-microblaze.git]
/
tools
/
objtool
/
arch
/
x86
/
decode.c
diff --git
a/tools/objtool/arch/x86/decode.c
b/tools/objtool/arch/x86/decode.c
index
24295d3
..
523aa41
100644
(file)
--- a/
tools/objtool/arch/x86/decode.c
+++ b/
tools/objtool/arch/x86/decode.c
@@
-747,6
+747,10
@@
int arch_rewrite_retpolines(struct objtool_file *file)
list_for_each_entry(insn, &file->retpoline_call_list, call_node) {
+ if (insn->type != INSN_JUMP_DYNAMIC &&
+ insn->type != INSN_CALL_DYNAMIC)
+ continue;
+
if (!strcmp(insn->sec->name, ".text.__x86.indirect_thunk"))
continue;