Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537995 > unrolled thread

[GIT PULL] objtool fix

Started byIngo Molnar <mingo@kernel.org>
First post2016-12-07 19:50 +0100
Last post2016-12-07 19:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] objtool fix Ingo Molnar <mingo@kernel.org> - 2016-12-07 19:50 +0100

#1537995 — [GIT PULL] objtool fix

FromIngo Molnar <mingo@kernel.org>
Date2016-12-07 19:50 +0100
Subject[GIT PULL] objtool fix
Message-ID<sLPrX-3Kn-15@gated-at.bofh.it>
Linus,

Please pull the latest core-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus

   # HEAD: 69042bf2001b44e81cd86ab11a4637b9d9a14c5a objtool: Fix bytes check of lea's rex_prefix

A single late breaking fix for objtool.

 Thanks,

	Ingo

------------------>
Jiri Slaby (1):
      objtool: Fix bytes check of lea's rex_prefix


 tools/objtool/arch/x86/decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c
index b63a31be1218..5e0dea2cdc01 100644
--- a/tools/objtool/arch/x86/decode.c
+++ b/tools/objtool/arch/x86/decode.c
@@ -99,7 +99,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
 		break;
 
 	case 0x8d:
-		if (insn.rex_prefix.bytes &&
+		if (insn.rex_prefix.nbytes &&
 		    insn.rex_prefix.bytes[0] == 0x48 &&
 		    insn.modrm.nbytes && insn.modrm.bytes[0] == 0x2c &&
 		    insn.sib.nbytes && insn.sib.bytes[0] == 0x24)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web