summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch')
-rw-r--r--meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch b/meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch
new file mode 100644
index 00000000..bbcac109
--- /dev/null
+++ b/meta-microblaze/recipes-devtools/gdb/gdb/0027-Patch-MicroBlaze-double-imml-generation-for-64-bit-v.patch
@@ -0,0 +1,26 @@
1From 41b562250cdac5fd821267c6dac68b799d80dbe3 Mon Sep 17 00:00:00 2001
2From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Mon, 26 Aug 2019 15:29:42 +0530
4Subject: [PATCH 27/52] [Patch,MicroBlaze] : double imml generation for 64 bit
5 values.
6
7---
8 gas/config/tc-microblaze.c | 322 ++++++++++++++++++++++++++++++-------
9 opcodes/microblaze-opc.h | 4 +-
10 2 files changed, 263 insertions(+), 63 deletions(-)
11
12Index: gdb-9.2/opcodes/microblaze-opc.h
13===================================================================
14--- gdb-9.2.orig/opcodes/microblaze-opc.h
15+++ gdb-9.2/opcodes/microblaze-opc.h
16@@ -626,8 +626,8 @@ char pvr_register_prefix[] = "rpvr";
17 #define MIN_IMM6_WIDTH ((int) 0x00000001)
18 #define MAX_IMM6_WIDTH ((int) 0x00000040)
19
20-#define MIN_IMML ((long long) 0xffffff8000000000L)
21-#define MAX_IMML ((long long) 0x0000007fffffffffL)
22+#define MIN_IMML ((long long) -9223372036854775808)
23+#define MAX_IMML ((long long) 9223372036854775807)
24
25 #endif /* MICROBLAZE_OPC */
26