diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch b/meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch new file mode 100644 index 0000000000..d82a0b694c --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 8941017bc0226b60ce306d5271df15820ce66a53 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alan Modra <amodra@gmail.com> | ||
3 | Date: Tue, 30 Aug 2016 20:57:32 +0930 | ||
4 | Subject: [PATCH] ppc apuinfo for spe parsed incorrectly | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | apuinfo saying SPE resulted in mach = bfd_mach_ppc_vle due to a | ||
8 | missing break. | ||
9 | |||
10 | PR 20531 | ||
11 | * elf32-ppc.c (_bfd_elf_ppc_set_arch): Add missing "break". | ||
12 | |||
13 | |||
14 | Backport from : | ||
15 | https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=8941017b | ||
16 | |||
17 | Upstream-Status: Backport | ||
18 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
19 | --- | ||
20 | bfd/elf32-ppc.c | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c | ||
24 | index 95ce1dc..e42ef1c 100644 | ||
25 | --- a/bfd/elf32-ppc.c | ||
26 | +++ b/bfd/elf32-ppc.c | ||
27 | @@ -2246,6 +2246,7 @@ _bfd_elf_ppc_set_arch (bfd *abfd) | ||
28 | case PPC_APUINFO_BRLOCK: | ||
29 | if (mach != bfd_mach_ppc_vle) | ||
30 | mach = bfd_mach_ppc_e500; | ||
31 | + break; | ||
32 | |||
33 | case PPC_APUINFO_VLE: | ||
34 | mach = bfd_mach_ppc_vle; | ||
35 | -- | ||
36 | 2.1.4 | ||
37 | |||