MIPS16/opcodes: Update opcode table comment
[binutils-gdb.git] / opcodes / tic6x-dis.c
index b38ecc34153910fcbc4d49df358a463485a0a204..f6426566f5826daea04b20dd593199f6c842301c 100644 (file)
@@ -1,5 +1,5 @@
 /* TI C6X disassembler.
-   Copyright (C) 2010-2014 Free Software Foundation, Inc.
+   Copyright (C) 2010-2016 Free Software Foundation, Inc.
    Contributed by Joseph Myers <joseph@codesourcery.com>
                  Bernd Schmidt  <bernds@codesourcery.com>
 
@@ -249,6 +249,9 @@ print_insn_tic6x (bfd_vma addr, struct disassemble_info *info)
 
   fp_offset = addr & 0x1f;
   fp_addr = addr - fp_offset;
+  /* Read in a block of instructions.  Since there might be a
+     symbol in the middle of this block, disable stop_vma.  */
+  info->stop_vma = 0;
   status = info->read_memory_func (fp_addr, fp, 32, info);
   if (status)
     {
@@ -1072,6 +1075,7 @@ print_insn_tic6x (bfd_vma addr, struct disassemble_info *info)
                case tic6x_coding_mem_offset_minus_one_noscale:
                case tic6x_coding_mem_offset_minus_one:
                  fld_val += 1;
+                 /* Fall through.  */
                case tic6x_coding_mem_offset_noscale:
                case tic6x_coding_mem_offset:
                  mem_offset = fld_val;