gas/
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Sep 2009 13:57:45 +0000 (13:57 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Sep 2009 13:57:45 +0000 (13:57 +0000)
commit0e1147d951339c8f443320b17cc76cdd453534e6
tree94aa537a3fdb469069f5e7e3250531c9da28fedf
parentc244d0505edb5cd7a76b77b0c4d309914ae0dec6
gas/

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

PR gas/10636
* config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
if there is an ADDR_PREFIX.
(i386_finalize_displacement): Repor error if signed 32bit
displacement is out of range.

gas/testsuite/

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

PR gas/10636
* gas/i386/disp.d: New.
* gas/i386/disp.s: Likewise.
* gas/i386/x86-64-disp.d: Likewise.
* gas/i386/x86-64-disp.s: Likewise.

* gas/i386/i386.exp: Run disp and x86-64-disp.

* gas/i386/x86-64-addr32.s: Add high 32bit displacement tests.

* gas/i386/x86-64-addr32.d: Updated.
* gas/i386/x86-64-addr32-intel.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
* gas/i386/x86-64-prescott.d: Likewise.

* gas/i386/x86-64-inval.s: Add invalid displacement tests.

* gas/i386/x86-64-prescott.s: Replace 0x90909090 displacement
with 0x909090.
15 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/disp.d [new file with mode: 0644]
gas/testsuite/gas/i386/disp.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-addr32-intel.d
gas/testsuite/gas/i386/x86-64-addr32.d
gas/testsuite/gas/i386/x86-64-addr32.s
gas/testsuite/gas/i386/x86-64-disp.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-disp.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-inval.l
gas/testsuite/gas/i386/x86-64-inval.s
gas/testsuite/gas/i386/x86-64-prescott.d
gas/testsuite/gas/i386/x86-64-prescott.s
This page took 0.030013 seconds and 4 git commands to generate.