diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-28 16:04:58 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-07 18:35:31 +0100 |
commit | b9b47ab79f7c3de0537cacfac061560d5811a84a (patch) | |
tree | cec1e75b0f58bc92d3e5f9b6929d562d24b4968e /gas/NEWS | |
parent | da5be03929920c8aed305f9ffac19ce37177b3c6 (diff) | |
download | gdb-b9b47ab79f7c3de0537cacfac061560d5811a84a.zip gdb-b9b47ab79f7c3de0537cacfac061560d5811a84a.tar.gz gdb-b9b47ab79f7c3de0537cacfac061560d5811a84a.tar.bz2 |
gas/arc: Additional work to support multiple arc_opcode chains
Building on earlier commits, this commit moves along support for having
multiple arc_opcode entries in the arc_opcodes table that have the same
mnemonic (name) field, but are not stored in a contiguous block in the
table.
In this commit we support looking up the arc_opcode_hash_entry from the
hash table, and passing this along to the find_opcode_match function,
which then finds the specific arc_opcode that we're assembling. We
still don't actually support the multiple chains of arc_opcode entries
in this commit, but the limitation is now isolated to the
find_opcode_match function.
There is no user visible change after this commit.
gas/ChangeLog:
* config/tc-arc.c (arc_find_opcode): Now returns
arc_opcode_hash_entry pointer.
(find_opcode_match): Update argument type, extract arc_opcode from
incoming arc_opcode_hash_entry.
(find_special_case_pseudo): Update return type.
(find_special_case_flag): Update return type.
(find_special_case): Update return type.
(assemble_tokens): Lookup arc_opcode_hash_entry based on
instruction mnemonic, then use find_opcode_match to identify
specific arc_opcode.
Diffstat (limited to 'gas/NEWS')
0 files changed, 0 insertions, 0 deletions