aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-opc.c
diff options
context:
space:
mode:
authorGraham Markall <graham.markall@embecosm.com>2016-07-06 15:04:37 +0100
committerGraham Markall <graham.markall@embecosm.com>2016-11-03 17:14:37 +0000
commit91fdca6f26cf33573364b5bd313ed4bed6a547cc (patch)
treedd4e8dc30eea46aa4a5f34d24755e1b832347460 /opcodes/arc-opc.c
parentecf64ec654afe916099f0fe482c2dae417913905 (diff)
downloadgdb-91fdca6f26cf33573364b5bd313ed4bed6a547cc.zip
gdb-91fdca6f26cf33573364b5bd313ed4bed6a547cc.tar.gz
gdb-91fdca6f26cf33573364b5bd313ed4bed6a547cc.tar.bz2
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.
Diffstat (limited to 'opcodes/arc-opc.c')
0 files changed, 0 insertions, 0 deletions