]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: Fix XLP / Octeon 3 instruction clash
authorMark Hatle <mark.hatle@windriver.com>
Tue, 3 Nov 2015 22:21:13 +0000 (16:21 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Nov 2015 11:13:50 +0000 (11:13 +0000)
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.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch

index c56ff915b48cbd697627f976d42bd51a413c6cfe..ecc37ccc01817cc5964ed1f9e7eff1b9c95dc480 100644 (file)
@@ -31,6 +31,12 @@ Netlogic. Also, update vendor name to NLM wherever applicable.
 Upstream-Status: Pending
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Use 0x00000080 for INSN_XLP, the value 0x00000040 has already been assigned
+to INSN_OCTEON3
+
+Signed-off-by: Baoshan Pang <baoshan.pang@windriver.com>
+Signed-off-by: Mark Hatle <mark.hatle@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