gas/
commita69722f805767a94fb2cef2fbc1b6ac0f06da3fb
authorJan Beulich <jbeulich@novell.com>
Wed, 13 Feb 2008 13:41:26 +0000 (13 13:41 +0000)
committerJan Beulich <jbeulich@novell.com>
Wed, 13 Feb 2008 13:41:26 +0000 (13 13:41 +0000)
tree465cb1aa06944537cac9dec46446f32194d3bf48
parentab2dd1a38685ea9afba0a828bbf9cfaa12e83340
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_real_register): Don't return 'FLAT'
if not in Intel mode.
(i386_intel_operand): Ignore segment overrides in immediate and
offset operands.
(intel_e11): Range-check i.mem_operands before use as array
index. Filter out FLAT for uses other than as segment override.
(intel_get_token): Remove broken promotion of "FLAT:" to mean
"offset FLAT:".

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Replace invalid offset expression with
valid ones.
* gas/i386/x86_64.s: Likewise.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-opc.h (RegFlat): New.
* i386-reg.tbl (flat): Add.
* i386-tbl.h: Re-generate.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/intelok.s
gas/testsuite/gas/i386/x86_64.s
opcodes/ChangeLog
opcodes/i386-opc.h
opcodes/i386-reg.tbl
opcodes/i386-tbl.h