summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-04-30 12:18:52 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-07-14 15:02:41 -0700
commit980ad571ee51f5b796692ec5d3302183122bffbd (patch)
tree12c7bbaea3bc4aaa66565cc1dca9418a5e9ebc3f /meta-microblaze/recipes-devtools
parent2d94c024e99ad02a5c20816d846a4e9ecdd29a9a (diff)
downloadmeta-xilinx-980ad571ee51f5b796692ec5d3302183122bffbd.tar.gz
binutis-gdb: Fix size of long, should be 64-bit
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-microblaze/recipes-devtools')
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc1
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils/0056-Patch-microblaze-Changing-the-long-to-long-long-as-i.patch27
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc
index b0a3f2de..96ffb289 100644
--- a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc
+++ b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc
@@ -56,4 +56,5 @@ SRC_URI_append = " \
56 file://0053-gdb-Fix-microblaze-target-compilation.patch \ 56 file://0053-gdb-Fix-microblaze-target-compilation.patch \
57 file://0054-Patch-MicroBlaze.patch \ 57 file://0054-Patch-MicroBlaze.patch \
58 file://0055-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch \ 58 file://0055-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch \
59 file://0056-Patch-microblaze-Changing-the-long-to-long-long-as-i.patch \
59 " 60 "
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0056-Patch-microblaze-Changing-the-long-to-long-long-as-i.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0056-Patch-microblaze-Changing-the-long-to-long-long-as-i.patch
new file mode 100644
index 00000000..b69b5a32
--- /dev/null
+++ b/meta-microblaze/recipes-devtools/binutils/binutils/0056-Patch-microblaze-Changing-the-long-to-long-long-as-i.patch
@@ -0,0 +1,27 @@
1From 9897f7ce32daafc2d9438820162df363f4b53274 Mon Sep 17 00:00:00 2001
2From: Nagaraju Mekala <nmekala@xilinx.com>
3Date: Tue, 20 Apr 2021 21:22:06 +0530
4Subject: [PATCH 56] [Patch, microblaze]:Changing the long to long long as in
5 Windows long is 32-bit but we need the variable to be 64-bit
6
7Signed-off-by :Nagaraju Mekala <nmekala@xilix.com>
8---
9 gas/config/tc-microblaze.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c
13index df7088d6c3..34222cc866 100644
14--- a/gas/config/tc-microblaze.c
15+++ b/gas/config/tc-microblaze.c
16@@ -1033,7 +1033,7 @@ md_assemble (char * str)
17 unsigned reg2;
18 unsigned reg3;
19 unsigned isize;
20- unsigned long immed, immed2, temp;
21+ unsigned long long immed, immed2, temp;
22 expressionS exp,exp1;
23 char name[20];
24 long immedl;
25--
262.17.1
27