summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/gdb/gdb/0009-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch
blob: fca85fa2c4313186820e8cb86f1a78bff2d0294f (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
From 9ab0a0a551902e5196d46178b57fa1b33b587092 Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Mon, 19 Apr 2021 14:33:27 +0530
Subject: [PATCH 09/10] [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

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

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0f752de267b..4945e7fa3b5 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -823,7 +823,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.17.1