We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1192518 commit bcb1b6fCopy full SHA for bcb1b6f
tools/objtool/check.c
@@ -1025,6 +1025,18 @@ static int add_call_destinations(struct objtool_file *file)
1025
dest_off);
1026
return -1;
1027
}
1028
+
1029
+ } else if (!strncmp(reloc->sym->name, "__x86_indirect_thunk_", 21)) {
1030
+ /*
1031
+ * Retpoline calls are really dynamic calls in
1032
+ * disguise, so convert them accordingly.
1033
+ */
1034
+ insn->type = INSN_CALL_DYNAMIC;
1035
+ insn->retpoline_safe = true;
1036
1037
+ remove_insn_ops(insn);
1038
+ continue;
1039
1040
} else
1041
insn->call_dest = reloc->sym;
1042
0 commit comments