32x: drc: finish MAC, gen drc entry/exit (for statically alloced regs)
authornotaz <notasas@gmail.com>
Mon, 7 Dec 2009 12:30:56 +0000 (12:30 +0000)
committernotaz <notasas@gmail.com>
Mon, 7 Dec 2009 12:30:56 +0000 (12:30 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@837 be3aeb3a-fb24-0410-a615-afba39da0efa

common/common.mak
linux/host_dasm.c

index edc8aae..be33b5a 100644 (file)
@@ -37,7 +37,6 @@ OBJS += cpu/drc/cmn.o
 ifeq "$(use_sh2drc)" "1"
 DEFINES += DRC_SH2
 OBJS += cpu/sh2/compiler.o
-OBJS += cpu/sh2/stub_$(ARCH).o
 ifdef drc_debug
 DEFINES += DRC_DEBUG=$(drc_debug)
 OBJS += cpu/sh2/mame/sh2dasm.o
index 3cc9c7b..d2d6d0a 100644 (file)
@@ -144,6 +144,7 @@ static int insn_printf(void *f, const char *format, ...)
 
 static void host_dasm_init(void)
 {
+  bfd_init();
   slurp_symtab(g_argv[0]);
 
   init_disassemble_info(&di, NULL, insn_printf);