summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/gdb/gdb/0006-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch
blob: 9d12cc53756921e73e1721d996a844ea2f7cbcba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From ef411b49f3b2c9e4048eb273f43ab4ee96f96b7e Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Mon, 19 Apr 2021 14:33:27 +0530
Subject: [PATCH 6/8] [Patch,MicroBlaze] : these changes will make 64 bit
 vectors as default target types when we built gdb with microblaze 64 bit type
 targets,for instance microblaze-xilinx-elf64/microblazeel-xilinx-elf64

Upstream-Status: Pending

Signed-off-by: Mark Hatle <mark.hatle@amd.com>

---
 bfd/config.bfd | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 5e9ba3d9805..deb3d078439 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -856,7 +856,15 @@ case "${targ}" in
     targ_defvec=metag_elf32_vec
     targ_underscore=yes
     ;;
+  microblazeel*-*64)
+    targ_defvec=microblaze_elf64_le_vec
+    targ_selvecs=microblaze_elf64_vec
+    ;;
 
+  microblaze*-*64)
+    targ_defvec=microblaze_elf64_vec
+    targ_selvecs=microblaze_elf64_le_vec
+    ;;
   microblazeel*-*)
     targ_defvec=microblaze_elf32_le_vec
     targ_selvecs=microblaze_elf32_vec
-- 
2.37.1 (Apple Git-137.1)