#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;
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 */
-}