diff options
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/nios2.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index be122b6..d40c9fd 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2014-11-06 Sandra Loosemore <sandra@codesourcery.com> + + * nios2.h (nios2_find_opcode_hash): Add mach parameter to + declaration. Fix obsolete comment. + 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> * nios2.h (enum iw_format_type): New. diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h index dc0e058..6b4c2f5 100644 --- a/include/opcode/nios2.h +++ b/include/opcode/nios2.h @@ -154,8 +154,8 @@ extern struct nios2_reg *nios2_regs; extern const int nios2_num_builtin_regs; extern int nios2_num_regs; -/* This is made extern so that the assembler can use it to find out - what instruction caused an error. */ -extern const struct nios2_opcode *nios2_find_opcode_hash (unsigned long); +/* Return the opcode descriptor for a single instruction. */ +extern const struct nios2_opcode * +nios2_find_opcode_hash (unsigned long, unsigned long); #endif /* _NIOS2_H */ |