summaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/disas.c b/disas.c
index 8a44e91477..81ba50a964 100644
--- a/disas.c
+++ b/disas.c
@@ -142,6 +142,8 @@ void disas(FILE *out, void *code, unsigned long size, int is_host, int flags)
print_insn = print_insn_i386;
#elif defined(TARGET_ARM)
print_insn = print_insn_arm;
+#elif defined(TARGET_SPARC)
+ print_insn = print_insn_sparc;
#else
fprintf(out, "Asm output not supported on this arch\n");
return;