Add .d32 encoding suffix.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2010 13:31:13 +0000 (13:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2010 13:31:13 +0000 (13:31 +0000)
commitf8a5c266971d7b5b96f973805551c6e88669cada
treee8ffd91e8e6a02b3cb06ef44dfee189d2bef72dd
parent5d3236eea075e471b90b4d89bc459645abe9f50c
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]