* mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
authorIan Lance Taylor <ian@airs.com>
Tue, 11 Feb 1997 20:46:14 +0000 (20:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 11 Feb 1997 20:46:14 +0000 (20:46 +0000)
display_endian.
(print_insn_mips16): Likewise.

opcodes/ChangeLog
opcodes/mips-dis.c

index d1718803f198dc7883e23c42108d4b79aa6406e3..95c0a158d7eb8f55003bb35cd366d84d9dc25a39 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb 11 15:26:47 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
+       display_endian.
+       (print_insn_mips16): Likewise.
+
 start-sanitize-r5900
 Fri Feb  7 11:12:44 1997  Gavin Koch  <gavin@cygnus.com>
         
index f4e5ca6a5c16e0ee734a2698be279ac86eec6544..89d3e90c2abb3e4ea6bc59b28dadfbbd3601439d 100644 (file)
@@ -255,6 +255,9 @@ _print_insn_mips (memaddr, word, info)
       init = 1;
     }
 
+  info->bytes_per_chunk = 4;
+  info->display_endian = info->endian;
+
   op = mips_hash[(word >> OP_SH_OP) & OP_MASK_OP];
   if (op != NULL)
     {
@@ -351,6 +354,9 @@ print_insn_mips16 (memaddr, info)
   int extend;
   const struct mips_opcode *op, *opend;
 
+  info->bytes_per_chunk = 2;
+  info->display_endian = info->endian;
+
   info->insn_info_valid = 1;
   info->branch_delay_insns = 0;
   info->data_size = 0;