[patch, nios2] Add mach parameter to nios2_find_opcode_hash

Sandra Loosemore sandra@codesourcery.com
Thu Nov 6 21:21:00 GMT 2014


This patch is another installment in the series to add support for 
multiple ISAs to the Nios II back end.

The disassembler function nios2_find_opcode_hash returns an instruction 
descriptor object matching the instruction word parameter.  It will need 
to know which set of instruction encodings to match against, so this 
patch adds a mach parameter to the function.  Presently the parameter is 
unused (there is only one ISA defined so far), but I decided it made 
sense to push this interface change before a GDB patch that adds a 
dependency on this function for instruction matching.

Committed as obvious.

-Sandra


-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-find-opcode-hash.log
Type: text/x-log
Size: 398 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20141106/65bd8a5e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-find-opcode-hash.patch
Type: text/x-patch
Size: 2131 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20141106/65bd8a5e/attachment-0001.bin>


More information about the Binutils mailing list