aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-08-30 20:57:32 +0930
committerAlan Modra <amodra@gmail.com>2016-08-30 21:04:44 +0930
commit8941017bc0226b60ce306d5271df15820ce66a53 (patch)
tree1a1c40a0737cac6fe21de1a27df65396f931d8f5 /bfd/elf32-ppc.c
parent57f6d32deafcfec43bef5e963e12aacc0783a1e4 (diff)
downloadgdb-8941017bc0226b60ce306d5271df15820ce66a53.zip
gdb-8941017bc0226b60ce306d5271df15820ce66a53.tar.gz
gdb-8941017bc0226b60ce306d5271df15820ce66a53.tar.bz2
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".
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 92299bc..1dd6d78 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -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;