Properly handle ljmp/lcall with invalid MODRM byte
authorMichael Zolotukhin <michael.v.zolotukhin@gmail.com>
Tue, 17 Dec 2013 17:06:57 +0000 (09:06 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Dec 2013 17:06:57 +0000 (09:06 -0800)
commit4a357820add595557dcd08d275288a4bcf43cbcb
treea073102f7de16dc39360f098a1d63cb6b91ca8f0
parent5879bb8fc592e4aea85bdc2a84381d89850e5770
Properly handle ljmp/lcall with invalid MODRM byte

gas/testsuite/

2013-12-17  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

* gas/i386/disassem.s: New.
* gas/i386/disassem.d: Likewise.
* gas/i386/x86-64-disassem.s: Likewise.
* gas/i386/x86-64-disassem.d: Likewise.
* gas/i386/i386.exp: Run disassem and x86-64-disassem.

opcodes/

2013-12-17  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

* i386-dis.c (MOD_FF_REG_3): New.
(MOD_FF_REG_5): Likewise.
(mod_table): Add MOD_FF_REG_3 and MOD_FF_REG_5.
(reg_table): Use MOD_FF_REG_3 and MOD_FF_REG_5.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/disassem.d [new file with mode: 0644]
gas/testsuite/gas/i386/disassem.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-disassem.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-disassem.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c