gas/arc: Replace short_insn flag with insn length field
authorGraham Markall <graham.markall@embecosm.com>
Wed, 6 Jul 2016 14:04:37 +0000 (15:04 +0100)
committerGraham Markall <graham.markall@embecosm.com>
Thu, 3 Nov 2016 17:14:37 +0000 (17:14 +0000)
commit91fdca6f26cf33573364b5bd313ed4bed6a547cc
treedd4e8dc30eea46aa4a5f34d24755e1b832347460
parentecf64ec654afe916099f0fe482c2dae417913905
gas/arc: Replace short_insn flag with insn length field

When assembling an instruction replace the short_insn boolean flag with
an integer field for holding the instruction length.  This is in
preparation for moving to a world where instructions can be 2, 4, 6, or
8 bytes in length.

gas/ChangeLog:

* config/tc-arc.c (struct arc_insn): Replace short_insn flag with
len field.
(apply_fixups): Update to use len field.
(emit_insn0): Simplify code, making use of len field.
(md_convert_frag): Update to use len field.
(assemble_insn): Update to use len field.
gas/ChangeLog
gas/config/tc-arc.c
This page took 0.033161 seconds and 4 git commands to generate.