OSDN Git Service

* config/tc-h8300.c (h8300sxnmode): Add prototype.
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 7 Jul 2003 09:33:02 +0000 (09:33 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 7 Jul 2003 09:33:02 +0000 (09:33 +0000)
commit07004a6fb95f3dbc0ade8045b56d368732e46ecc
treefe8b3ef9f3a07c42e727528be215c6cc045a7b81
parenta5dbaaa86f44e5012de35298724bea4108f80417
* config/tc-h8300.c (h8300sxnmode): Add prototype.
(DSYMMODE): Remove.
(parse_exp): Replace expressionS argument with a h8_op.  Parse the
operand size as well.
(skip_colonthing): Remove unused expression argument.  Tighten checks
for 2-digit sizes.
(colonmod24): Remove.
(get_mova_operands): Combine calls to parse_exp and skip_colonthing.
(get_operand): Likewise.  Use the standard code to read the size of
pc-relative operands.
(fix_operand_size): Include the size-guessing logic that used to be
in colonmod24 and get_operand.  Don't apply dd:2 optimizations to
offsets with a symbolic component.

testsuite/
* gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements.
gas/ChangeLog
gas/config/tc-h8300.c
gas/testsuite/ChangeLog
gas/testsuite/gas/h8300/h8sx_disp2.d
gas/testsuite/gas/h8300/h8sx_disp2.s