OSDN Git Service

Fix "pushw imm16" for x86-64 disassembler.
authorhjl <hjl>
Wed, 1 Sep 2010 06:56:56 +0000 (06:56 +0000)
committerhjl <hjl>
Wed, 1 Sep 2010 06:56:56 +0000 (06:56 +0000)
commit206d7ca39c8a16651e11e7184eaff06198f2f615
treea4b9a7ea1b15a05627f15f2ecd6a6a9d9c41492c
parentcbf4f2024812ccf60f498bce36ecd9aa431306fe
Fix "pushw imm16" for x86-64 disassembler.

gas/testsuite/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* gas/i386/opcode-intel.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

* gas/i386/x86-64-opcode.s: Add a "pushw imm16" test.

opcodes/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* i386-dis.c (sIv): New.
(dis386): Replace Iq with sIv on "pushT".
(reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT.
(x86_64_table): Replace {T|}/{P|} with P.
(putop): Add 'w' to 'T'/'P' if needed for Intel syntax.
(OP_sI): Update v_mode.  Remove w_mode.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-opcode.s
opcodes/ChangeLog
opcodes/i386-dis.c