ppc apuinfo for spe parsed incorrectly

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".
This commit is contained in:
Alan Modra 2016-08-30 20:57:32 +09:30
parent 57f6d32dea
commit 8941017bc0
2 changed files with 6 additions and 0 deletions

View 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

View 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;