[poky] morty support for e500 (p1020, p2020)
akuster808
akuster808 at gmail.com
Tue Dec 6 11:17:30 PST 2016
On 12/6/16 12:41 AM, Panagiotis Tamtamis wrote:
> Morty branch does not compile clean for ppc e500.
> Problem is a missing break at bin utils.
>
> Patch:
> diff --git a/meta/recipes-devtools/binutils/binutils-2.27.inc
> b/meta/recipes-devtools/binutils/binutils-2.27.inc
> index fc81721..f5bdc90 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.27.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.27.inc
> @@ -37,6 +37,7 @@ SRC_URI = "\
> file://0015-binutils-mips-gas-pic-relax-linkonce.diff \
>
> file://0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch \
>
> file://0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch \
> +
> file://binutils-gdb.git-8941017bc0226b60ce306d5271df15820ce66a53.patch \
> "
> S = "${WORKDIR}/git"
>
> diff --git
> a/meta/recipes-devtools/binutils/binutils/binutils-gdb.git-8941017bc0226b60ce306d5271df15820ce66a53.patch
> b/meta/recipes-devtools/binutils/binutils/binutils-gdb.git-8941017bc0226b60ce306d5271df15820ce66a53.patch
> index e69de29..9759525 100644
> ---
> a/meta/recipes-devtools/binutils/binutils/binutils-gdb.git-8941017bc0226b60ce306d5271df15820ce66a53.patch
> +++
> b/meta/recipes-devtools/binutils/binutils/binutils-gdb.git-8941017bc0226b60ce306d5271df15820ce66a53.patch
> @@ -0,0 +1,26 @@
> +From: Alan Modra <amodra at gmail.com <mailto:amodra at gmail.com>>
> +Date: Tue, 30 Aug 2016 11:27:32 +0000 (+0930)
> +Subject: ppc apuinfo for spe parsed incorrectly
> +X-Git-Url:
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff_plain;h=8941017bc0226b60ce306d5271df15820ce66a53
> +
> +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".
> +---
> +
> +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;
>
>
>
> But should I push this change since NXP removed its support and conf
> files at meta-fsl-ppc for morty branch?
Yes please send a patch. Please check master to make sure we don't need
the fix there too.
- Armin
>
>
> Best regards,
> Tamis
>
> --
> Think simple!
>
>
More information about the poky
mailing list