diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2014-11-06 13:12:21 -0800 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2014-11-06 13:12:21 -0800 |
commit | b4714c7c30c151ccb892bda7d6f79a5ac8767a5b (patch) | |
tree | afa21e0a4b83f65d9848bf78e1537e35e6e38a73 /gas/config | |
parent | 426a40796aa976355999b2ae401820b9c4a72be9 (diff) | |
download | gdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.zip gdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.tar.gz gdb-b4714c7c30c151ccb892bda7d6f79a5ac8767a5b.tar.bz2 |
Add mach parameter to nios2_find_opcode_hash.
2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
include/opcode/
* nios2.h (nios2_find_opcode_hash): Add mach parameter to
declaration. Fix obsolete comment.
opcodes/
* nios2-dis.c (nios2_find_opcode_hash): Add mach parameter.
(nios2_disassemble): Adjust call to nios2_find_opcode_hash.
gas/
* config/tc-nios2.c (nios2_diagnose_overflow): Adjust call to
nios2_find_opcode_hash.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-nios2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c index 3ed7a9e..7691fd1 100644 --- a/gas/config/tc-nios2.c +++ b/gas/config/tc-nios2.c @@ -1033,7 +1033,7 @@ nios2_diagnose_overflow (valueT fixup, reloc_howto_type *howto, unsigned int range_max; unsigned int address; - opcode = nios2_find_opcode_hash (value); + opcode = nios2_find_opcode_hash (value, bfd_get_mach (stdoutput)); gas_assert (opcode); gas_assert (fixP->fx_size == opcode->size); overflow_msg_type = opcode->overflow_msg; |