aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2014-11-06 13:12:21 -0800
committerSandra Loosemore <sandra@codesourcery.com>2014-11-06 13:12:21 -0800
commitb4714c7c30c151ccb892bda7d6f79a5ac8767a5b (patch)
treeafa21e0a4b83f65d9848bf78e1537e35e6e38a73 /gas
parent426a40796aa976355999b2ae401820b9c4a72be9 (diff)
downloadgdb-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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-nios2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0d6ef3b..dc11a68 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
+
+ * config/tc-nios2.c (nios2_diagnose_overflow): Adjust call to
+ nios2_find_opcode_hash.
+
2014-11-05 Matthew Fortune <matthew.fortune@imgtec.com>
* config/tc-mips.c (mips_elf_final_processing): Add INSN_ISA32R6
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;