aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
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;