Properly check address mode for SIB
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Mar 2013 18:49:10 +0000 (18:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Mar 2013 18:49:10 +0000 (18:49 +0000)
commit55cf16e10ce64a8696137d2ce50092b4559561e7
treea001d19198e7351572910eef6b15ef0b97b33c73
parentec21308c432bb90610474eedeb47b2335b12a735
Properly check address mode for SIB

gas/testsuite/

* gas/i386/addr32.s: Add an SIB test.
* gas/i386/addr32.d: Updated.

opcodes/

* i386-dis.c (get_sib): Add the sizeflag argument.  Properly
check address mode.
(print_insn): Pass sizeflag to get_sib.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/addr32.d
gas/testsuite/gas/i386/addr32.s
opcodes/ChangeLog
opcodes/i386-dis.c