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 2d12c6f commit 87cb582Copy full SHA for 87cb582
tools/objtool/arch/x86/special.c
@@ -126,7 +126,7 @@ struct reloc *arch_find_switch_table(struct objtool_file *file,
126
* indicates a rare GCC quirk/bug which can leave dead
127
* code behind.
128
*/
129
- if (reloc_type(text_reloc) == R_X86_64_PC32) {
+ if (!file->ignore_unreachables && reloc_type(text_reloc) == R_X86_64_PC32) {
130
WARN_INSN(insn, "ignoring unreachables due to jump table quirk");
131
file->ignore_unreachables = true;
132
}
0 commit comments