[OE-core] [PATCH] binutils: Fix XLP / Octeon 3 instruction clash
Khem Raj
raj.khem at gmail.com
Tue Nov 3 23:28:53 UTC 2015
On Tue, Nov 3, 2015 at 2:21 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> Use the value 0x00000080 for INSN_XLP, as the value 0x00000040 has already
> been assigned to INSN_OCTEON3 by the binutils project.
>
> Without this change, invalid instructions can be generated for both INSN_XLP
> and INSN_OCTEON3.
>
this is ok. is octeon3 sent upstream yet ?
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
> .../binutils/binutils/0012-Add-XLP-instructions-support.patch | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch b/meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch
> index c56ff91..ecc37cc 100644
> --- a/meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch
> +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch
> @@ -31,6 +31,12 @@ Netlogic. Also, update vendor name to NLM wherever applicable.
> Upstream-Status: Pending
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> +
> +Use 0x00000080 for INSN_XLP, the value 0x00000040 has already been assigned
> +to INSN_OCTEON3
> +
> +Signed-off-by: Baoshan Pang <baoshan.pang at windriver.com>
> +Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
> bfd/aoutx.h | 1 +
> bfd/archures.c | 1 +
> @@ -251,7 +257,7 @@ index ef26167..ef53ec6 100644
> +/* Netlogic Xlr instruction */
> +#define INSN_XLR 0x00000020
> +/* Netlogic XlP instruction */
> -+#define INSN_XLP 0x00000040
> ++#define INSN_XLP 0x00000080
>
> /* DSP ASE */
> #define ASE_DSP 0x00000001
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list