From fbc2255575afc0d332b28fd4991235e020cda667 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Fri, 15 Dec 2017 06:45:47 +0200 Subject: [PATCH] Fix disassembly for PowerPC * disassemble.c (disassemble_init_for_target): Don't put PRU between powerpc and rs6000 cases. --- opcodes/ChangeLog | 5 +++++ opcodes/disassemble.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f7d2452c35a..0026eb9de79 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2017-12-15 Dimitar Dimitrov + + * disassemble.c (disassemble_init_for_target): Don't put PRU + between powerpc and rs6000 cases. + 2017-12-15 Jan Beulich * i386-opc.tbl (adc, add, and, cmp, cmps, in, ins, lods, mov, diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index fa9a7653541..70ee65a1abb 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -651,14 +651,14 @@ disassemble_init_for_target (struct disassemble_info * info) } break; #endif -#ifdef ARCH_powerpc - case bfd_arch_powerpc: -#endif #ifdef ARCH_pru case bfd_arch_pru: info->disassembler_needs_relocs = TRUE; break; #endif +#ifdef ARCH_powerpc + case bfd_arch_powerpc: +#endif #ifdef ARCH_rs6000 case bfd_arch_rs6000: #endif -- 2.30.2