Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objtool/x86: Remove 0xea hack

Was properly fixed in the decoder with commit 4b626015e1bf ("x86/insn:
Stop decoding i64 instructions in x86-64 mode at opcode")

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>

-9
-9
tools/objtool/arch/x86/decode.c
··· 189 189 op2 = ins.opcode.bytes[1]; 190 190 op3 = ins.opcode.bytes[2]; 191 191 192 - /* 193 - * XXX hack, decoder is buggered and thinks 0xea is 7 bytes long. 194 - */ 195 - if (op1 == 0xea) { 196 - insn->len = 1; 197 - insn->type = INSN_BUG; 198 - return 0; 199 - } 200 - 201 192 if (ins.rex_prefix.nbytes) { 202 193 rex = ins.rex_prefix.bytes[0]; 203 194 rex_w = X86_REX_W(rex) >> 3;