ppc apuinfo for spe parsed incorrectly
authorAlan Modra <amodra@gmail.com>
Tue, 30 Aug 2016 11:27:32 +0000 (20:57 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 30 Aug 2016 11:34:44 +0000 (21:04 +0930)
apuinfo saying SPE resulted in mach = bfd_mach_ppc_vle due to a
missing break.

PR 20531
* elf32-ppc.c (_bfd_elf_ppc_set_arch): Add missing "break".

bfd/ChangeLog
bfd/elf32-ppc.c

index 68a23d11d51fc93c5647a558cefb370f9ae37bcf..410b979225346939f50560387fcf2441622b0da0 100644 (file)
@@ -1,3 +1,8 @@
+2016-08-30  Alan Modra  <amodra@gmail.com>
+
+       PR 20531
+       * elf32-ppc.c (_bfd_elf_ppc_set_arch): Add missing "break".
+
 2016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/14961
index 92299bcc3dd1e304b09d57d36f8bc592330c42a1..1dd6d78d6590bf018ce66b97c378d725bc442575 100644 (file)
@@ -2246,6 +2246,7 @@ _bfd_elf_ppc_set_arch (bfd *abfd)
                case PPC_APUINFO_BRLOCK:
                  if (mach != bfd_mach_ppc_vle)
                    mach = bfd_mach_ppc_e500;
+                 break;
 
                case PPC_APUINFO_VLE:
                  mach = bfd_mach_ppc_vle;
This page took 0.036982 seconds and 4 git commands to generate.