]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-h8300.c
* config/tc-h8300.c (h8300sxnmode): Add prototype.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 7 Jul 2003 09:33:02 +0000 (09:33 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 7 Jul 2003 09:33:02 +0000 (09:33 +0000)
commit1b680e4f574f7d2610c96756a9015a1bfcf126c3
tree9fbc2707b649fea956b64c8d98420a78939b49bf
parent8427c424251eeb9dfd53b39b54e77d6e8e7d4ba6
* 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