From a3202ebb06048c96e9b06ab413af8b845948e683 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 26 Oct 2006 15:37:21 +0000 Subject: [PATCH] * h8300-dis.c (bfd_h8_disassemble): Add missing consts. --- opcodes/ChangeLog | 4 ++++ opcodes/h8300-dis.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 016292e..6b216ea 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2006-10-26 Daniel Jacobowitz + + * h8300-dis.c (bfd_h8_disassemble): Add missing consts. + 2006-10-25 Trevor Smigiel Yukishige Shibata Nobuhisa Fujinami diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index d897381..d0e3006 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -362,7 +362,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) for (qi = h8_instructions; qi->opcode->name; qi++) { const struct h8_opcode *q = qi->opcode; - op_type *nib = q->data.nib; + const op_type *nib = q->data.nib; unsigned int len = 0; while (1) @@ -640,7 +640,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) } if (CONST_STRNEQ (q->name, "mova")) { - op_type *args = q->args.nib; + const op_type *args = q->args.nib; if (args[1] == (op_type) E) { @@ -666,7 +666,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) } /* Fill in the args. */ { - op_type *args = q->args.nib; + const op_type *args = q->args.nib; int hadone = 0; int nargs; -- 2.7.4