Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1572750
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [GIT PULL] objtool fix |
| Date | 2017-02-02 22:00 +0100 |
| Message-ID | <t6wE2-ua-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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;
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[GIT PULL] objtool fix Ingo Molnar <mingo@kernel.org> - 2017-02-02 22:00 +0100
csiph-web