gas/
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Sep 2009 22:02:26 +0000 (22:02 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Sep 2009 22:02:26 +0000 (22:02 +0000)
commit6cee4cdae4e52a8fce7f3bba86cc6fa79720e977
treea2c01d89f4a978d051f5521ae5da7c88aad5ca77
parent41dcd03ff79cb197e121d17028baefbdf49e306f
gas/

2009-09-14  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10637
* config/tc-i386-intel.c (intel_state): Add has_offset.
(i386_intel_simplify): Set intel_state.has_offset to 1 for
O_offset.
(i386_intel_operand): Turn on intel_state.is_mem if
intel_state.has_offset is 0 and the last char is ']'.

gas/testsuite/

2009-09-14  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10637
* gas/i386/disp.s: Add tests for Intel syntax.
* gas/i386/x86-64-disp.s: Likewise.

* gas/i386/disp.d: Updated.
* gas/i386/intelok.d: Likewise.
* gas/i386/x86-64-disp.d: Likewise.

* gas/i386/disp-intel.d: New.
* gas/i386/x86-64-disp-intel.d: Likewise.

* gas/i386/i386.exp: Run disp-intel and x86-64-disp-intel.
gas/ChangeLog
gas/config/tc-i386-intel.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/disp-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/disp.d
gas/testsuite/gas/i386/disp.s
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/intelok.d
gas/testsuite/gas/i386/x86-64-disp-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-disp.d
gas/testsuite/gas/i386/x86-64-disp.s