aboutsummaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/binutils/binutils/0055-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch
blob: b8e9e17caaeef1925d852b376b4f8bef9d8495a2 (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
From 6b29e1a8ff62e01299ee07840b4443cbda5b8c61 Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Mon, 19 Apr 2021 14:33:27 +0530
Subject: [PATCH 2/2] [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(+)

Index: gdb-9.2/bfd/config.bfd
===================================================================
--- gdb-9.2.orig/bfd/config.bfd
+++ gdb-9.2/bfd/config.bfd
@@ -838,7 +838,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