diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/metag-dis.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6efdab0..1400b96 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2013-02-15 Markos Chandras <markos.chandras@imgtec.com> + + * metag-dis.c: Initialize outf->bytes_per_chunk to 4 + which also makes the disassembler output be in little + endian like it should be. + 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name' diff --git a/opcodes/metag-dis.c b/opcodes/metag-dis.c index 447f6de..40ec184 100644 --- a/opcodes/metag-dis.c +++ b/opcodes/metag-dis.c @@ -3360,6 +3360,7 @@ print_insn_metag (bfd_vma pc, disassemble_info *outf) bfd_byte buf[4]; unsigned int insn_word; size_t i; + outf->bytes_per_chunk = 4; (*outf->read_memory_func) (pc & ~0x03, buf, 4, outf); insn_word = bfd_getl32 (buf); |