projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f6d32
)
ppc apuinfo for spe parsed incorrectly
author
Alan Modra
<amodra@gmail.com>
Tue, 30 Aug 2016 11:27:32 +0000
(20:57 +0930)
committer
Alan 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
patch
|
blob
|
history
bfd/elf32-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 68a23d11d51fc93c5647a558cefb370f9ae37bcf..410b979225346939f50560387fcf2441622b0da0 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/elf32-ppc.c
b/bfd/elf32-ppc.c
index 92299bcc3dd1e304b09d57d36f8bc592330c42a1..1dd6d78d6590bf018ce66b97c378d725bc442575 100644
(file)
--- 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;