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


Groups > linux.kernel > #1572750 > unrolled thread

[GIT PULL] objtool fix

Started byIngo Molnar <mingo@kernel.org>
First post2017-02-02 22:00 +0100
Last post2017-02-02 22:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] objtool fix Ingo Molnar <mingo@kernel.org> - 2017-02-02 22:00 +0100

#1572750 — [GIT PULL] objtool fix

FromIngo Molnar <mingo@kernel.org>
Date2017-02-02 22:00 +0100
Subject[GIT PULL] objtool fix
Message-ID<t6wE2-ua-13@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: b5b46c4740aed1538544f0fa849c5b76c7823469 objtool: Fix IRET's opcode

A fix for a bad opcode in objtool's instruction decoder.

 Thanks,

	Ingo

------------------>
Jiri Slaby (1):
      objtool: Fix IRET's opcode


 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 5e0dea2cdc01..039636ffb6c8 100644
--- a/tools/objtool/arch/x86/decode.c
+++ b/tools/objtool/arch/x86/decode.c
@@ -150,9 +150,9 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
 		*type = INSN_RETURN;
 		break;
 
-	case 0xc5: /* iret */
 	case 0xca: /* retf */
 	case 0xcb: /* retf */
+	case 0xcf: /* iret */
 		*type = INSN_CONTEXT_SWITCH;
 		break;
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web