diff options
author | Nick Clifton <nickc@redhat.com> | 2013-02-15 14:54:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-02-15 14:54:28 +0000 |
commit | 9d1df426e214b12fa6b728de55367d8621996be9 (patch) | |
tree | 85a3470b8be9b1567333426d8cda0185a9e48889 /opcodes | |
parent | a043396b72d17ae87267b534aa98457a0702f5c8 (diff) | |
download | fsf-binutils-gdb-9d1df426e214b12fa6b728de55367d8621996be9.zip fsf-binutils-gdb-9d1df426e214b12fa6b728de55367d8621996be9.tar.gz fsf-binutils-gdb-9d1df426e214b12fa6b728de55367d8621996be9.tar.bz2 |
* metag-dis.c: Initialize outf->bytes_per_chunk to 4
which also makes the disassembler output be in little
endian like it should be.
* metag/labelarithmetic.d: Fix the expected disassembler
output to be in little endian format
* metag/metacore12.d: likewise
* metag/metacore21.d: likewise
* metag/metacore21ext.d: likewise
* metag/metadsp21.d: likewise
* metag/metadsp21ext.d: likewise
* metag/metafpu.d: likewise
* metag/metafpuext.d: likewise
* metag/tls.d: likewise
* ld-metag/pcrel.d: Fix the expected disassembler
output to be in little endian format
* ld-metag/shared.d: likewise
* ld-metag/stub.d: likewise
* ld-metag/stub_pic_app.d: likewise
* ld-metag/stub_pic_shared.d: likewise
* ld-metag/stub_shared.d: likewise
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); |