Skip to content

Commit 407cf05

Browse files
committed
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool fix from Ingo Molnar: "A single late breaking fix for objtool" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool: Fix bytes check of lea's rex_prefix
2 parents ce779d6 + 69042bf commit 407cf05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/objtool/arch/x86/decode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
9999
break;
100100

101101
case 0x8d:
102-
if (insn.rex_prefix.bytes &&
102+
if (insn.rex_prefix.nbytes &&
103103
insn.rex_prefix.bytes[0] == 0x48 &&
104104
insn.modrm.nbytes && insn.modrm.bytes[0] == 0x2c &&
105105
insn.sib.nbytes && insn.sib.bytes[0] == 0x24)

0 commit comments

Comments
 (0)