Fix disassembly for PowerPC
authorDimitar Dimitrov <dimitar@dinux.eu>
Fri, 15 Dec 2017 04:45:47 +0000 (06:45 +0200)
committerAlan Modra <amodra@gmail.com>
Fri, 15 Dec 2017 09:22:49 +0000 (19:52 +1030)
* disassemble.c (disassemble_init_for_target): Don't put PRU
between powerpc and rs6000 cases.

opcodes/ChangeLog
opcodes/disassemble.c

index f7d2452c35aa9e92efd7067ae5bcf9ab9b5f644f..0026eb9de79b3edfb48d8ed2e9cee88a1e30672d 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-15  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * disassemble.c (disassemble_init_for_target): Don't put PRU
+       between powerpc and rs6000 cases.
+
 2017-12-15  Jan Beulich  <jbeulich@suse.com>
 
        * i386-opc.tbl (adc, add, and, cmp, cmps, in, ins, lods, mov,
index fa9a7653541b8aef81fcbc75b453297b41a51712..70ee65a1abb0f704898998e4c6792d2748144dd8 100644 (file)
@@ -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