summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-11-03 16:21:13 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:13:50 +0000
commit3a3269e7f4c7d13ad0c5705cb59c138b697151d7 (patch)
treeec86e957af9dbe32f374340be8a3421b5e117789 /meta/recipes-devtools/binutils
parent2e8f1ffe3a8d7740b0ac68eefbba3fe28f7ba6d4 (diff)
downloadopenembedded-core-3a3269e7f4c7d13ad0c5705cb59c138b697151d7.tar.gz
openembedded-core-3a3269e7f4c7d13ad0c5705cb59c138b697151d7.tar.bz2
openembedded-core-3a3269e7f4c7d13ad0c5705cb59c138b697151d7.zip
binutils: Fix XLP / Octeon 3 instruction clash
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>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch8
1 files changed, 7 insertions, 1 deletions
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 c56ff915b4..ecc37ccc01 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@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