Add .d32 encoding suffix.
commitc13f8a6374abebdb483586ee48c90f6f51770edf
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2010 13:31:11 +0000 (14 13:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2010 13:31:11 +0000 (14 13:31 +0000)
tree2a70118a6dc4cecb7190f0856d416c840c5ce4d6
parentb164dc0864f969baa5c09cebf2f3390ed1778614
Add .d32 encoding suffix.

gas/

2010-10-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (_i386_insn): Add disp32_encoding.
(md_assemble): Don't call optimize_disp if disp32_encoding is
set.
(parse_insn): Support .d32 to force 32bit displacement.
(output_branch): Use BIG if disp32_encoding is set.

* doc/c-i386.texi: Document .d32 encoding suffix.

gas/testsuite/

2010-10-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/disp32.d: New.
* gas/i386/disp32.s: Likewise.
* gas/i386/x86-64-disp32.d: Likewise.
* gas/i386/x86-64-disp32.s: Likewise.

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