diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-07-11 18:59:58 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-10-22 15:49:40 +0200 |
commit | dbad6b74b3de6ce839bd870657b6bcc192e3b74a (patch) | |
tree | c6f32c0348614c033a668aa66781c7fe5cb2bda7 /disas.c | |
parent | ca3e40e233e87f7b29442311736a82da01c0df7b (diff) |
disas: QOMify s390x specific disas setup
Move the target_disas() s390 specifics to the CPUClass::disas_set_info()
hook and delete the #ifdef specific code in disas.c.
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -249,9 +249,6 @@ void target_disas(FILE *out, CPUState *cpu, target_ulong code, #elif defined(TARGET_ALPHA) s.info.mach = bfd_mach_alpha_ev6; s.info.print_insn = print_insn_alpha; -#elif defined(TARGET_S390X) - s.info.mach = bfd_mach_s390_64; - s.info.print_insn = print_insn_s390; #elif defined(TARGET_MOXIE) s.info.mach = bfd_arch_moxie; s.info.print_insn = print_insn_moxie; @@ -462,9 +459,6 @@ void monitor_disas(Monitor *mon, CPUState *cpu, #elif defined(TARGET_SH4) s.info.mach = bfd_mach_sh4; s.info.print_insn = print_insn_sh; -#elif defined(TARGET_S390X) - s.info.mach = bfd_mach_s390_64; - s.info.print_insn = print_insn_s390; #elif defined(TARGET_MOXIE) s.info.mach = bfd_arch_moxie; s.info.print_insn = print_insn_moxie; |