* symtab.c (skip_prologue_using_sal): Treat two consecutive lines
[deliverable/binutils-gdb.git] / opcodes / mips-dis.c
index 4202b7d1dba7a7888a5c9c0ec725b168bc585257..744d5a92bcbb6cd5b17ab17ba960428f4d4e9c3c 100644 (file)
@@ -902,6 +902,13 @@ print_insn_args (const char *d,
                                     (l >> OP_SH_CINSLM1) & OP_MASK_CINSLM1);
              break;
 
+           case 'Q':           /* seqi/snei immediate field */
+             op = (l >> OP_SH_SEQI) & OP_MASK_SEQI;
+             /* Sign-extend it.  */
+             op = (op ^ 512) - 512;
+             (*info->fprintf_func) (info->stream, "%d", op);
+             break;
+
            default:
              /* xgettext:c-format */
              (*info->fprintf_func) (info->stream,
@@ -2059,10 +2066,10 @@ _print_insn_mips (bfd_vma memaddr,
 
 #if SYMTAB_AVAILABLE
   if (info->mach == bfd_mach_mips16
-      || (info->flavour == bfd_target_elf_flavour
-         && info->symbols != NULL
-         && ((*(elf_symbol_type **) info->symbols)->internal_elf_sym.st_other
-             == STO_MIPS16)))
+      || (info->symbols != NULL
+         && bfd_asymbol_flavour (*info->symbols) == bfd_target_elf_flavour
+         && ELF_ST_IS_MIPS16 ((*(elf_symbol_type **) info->symbols)
+                              ->internal_elf_sym.st_other)))
     return print_insn_mips16 (memaddr, info);
 #endif
 
This page took 0.023339 seconds and 4 git commands to generate.