]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - opcodes/disassemble.c
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / opcodes / disassemble.c
index 8bf16c68642a6886bdb2485976a9a36c1296b398..31f6a5412993ca37991608d269fe7b117b50757e 100644 (file)
@@ -51,6 +51,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define ARCH_z8k
 #endif
 
+/* start-sanitize-sky */
+#if defined (ARCH_dvp) && ! defined (ARCH_mips)
+#define ARCH_mips
+#endif
+/* end-sanitize-sky */
+
 disassembler_ftype
 disassembler (abfd)
      bfd *abfd;
@@ -226,33 +232,3 @@ disassembler (abfd)
   return disassemble;
 }
 
-/* Notify the disassembler of the address associated with the
-   instruction being decoded: */
-
-void
-disasm_symaddr (sym, info)
-     asymbol *sym;
-     disassemble_info *info;
-{
-#ifdef ARCH_arm
-  /* decide if symbol is thumb or not */
-  if (info->flavour == bfd_target_coff_flavour)
-    {
-/* This is not ideal including these here, since we may not be
-   building a COFF targetted world at all... so coffsymbol() may not
-   be available. (TO BE SORTED OUT) */
-#include "coff/internal.h"
-#include "libcoff.h"
-      coff_symbol_type *cs = coffsymbol (sym);
-      if (   cs->native->u.syment.n_sclass == C_THUMBEXT
-          || cs->native->u.syment.n_sclass == C_THUMBSTAT
-          || cs->native->u.syment.n_sclass == C_THUMBLABEL
-          || cs->native->u.syment.n_sclass == C_THUMBEXTFUNC
-          || cs->native->u.syment.n_sclass == C_THUMBSTATFUNC)
-       info->flags |= 0x1;
-      else
-       info->flags &= ~0x1;
-    }
-#endif
-  /* Do nothing for other architectures at the moment */
-}