summaryrefslogtreecommitdiff
path: root/patches/binutils/2.27
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-26 19:45:46 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-26 20:19:35 (GMT)
commit4ea47dddfd1a8041040b0e720a80d858d9bfbfb9 (patch)
tree5fc270c9299d10428170f9783f6b98f1ec3eb13b /patches/binutils/2.27
parentdedee847056ea71cee17b683ef379f00a6debab1 (diff)
Add binutils 2.27 patch
https://sourceware.org/bugzilla/show_bug.cgi?id=20531 Reported-by: Floessie Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/binutils/2.27')
-rw-r--r--patches/binutils/2.27/100-missing-break.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/binutils/2.27/100-missing-break.patch b/patches/binutils/2.27/100-missing-break.patch
new file mode 100644
index 0000000..6f9d67c
--- /dev/null
+++ b/patches/binutils/2.27/100-missing-break.patch
@@ -0,0 +1,30 @@
+From 8941017bc0226b60ce306d5271df15820ce66a53 Mon Sep 17 00:00:00 2001
+From: Alan Modra <amodra@gmail.com>
+Date: Tue, 30 Aug 2016 20:57:32 +0930
+Subject: [PATCH] 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".
+---
+ bfd/ChangeLog | 5 +++++
+ bfd/elf32-ppc.c | 1 +
+ 2 files changed, 6 insertions(+)
+
+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;
+--
+2.9.3
+