diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-11/0039-extending-the-Dwarf-support-to-64bit-Microblaze.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-11/0039-extending-the-Dwarf-support-to-64bit-Microblaze.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-11/0039-extending-the-Dwarf-support-to-64bit-Microblaze.patch b/meta-microblaze/recipes-devtools/gcc/gcc-11/0039-extending-the-Dwarf-support-to-64bit-Microblaze.patch new file mode 100644 index 00000000..8f46859a --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-11/0039-extending-the-Dwarf-support-to-64bit-Microblaze.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From e51fb2d87f412d1f7045050c5c2df664766de706 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nagaraju Mekala <nmekala@xilix.com> | ||
3 | Date: Mon, 15 Oct 2018 12:00:10 +0530 | ||
4 | Subject: [PATCH 39/54] extending the Dwarf support to 64bit Microblaze | ||
5 | |||
6 | --- | ||
7 | gcc/config/microblaze/microblaze.h | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h | ||
11 | index 60c552958b8..747adcc7a70 100644 | ||
12 | --- a/gcc/config/microblaze/microblaze.h | ||
13 | +++ b/gcc/config/microblaze/microblaze.h | ||
14 | @@ -207,7 +207,7 @@ extern enum pipeline_type microblaze_pipe; | ||
15 | /* Use DWARF 2 debugging information by default. */ | ||
16 | #define DWARF2_DEBUGGING_INFO 1 | ||
17 | #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG | ||
18 | -#define DWARF2_ADDR_SIZE 4 | ||
19 | +#define DWARF2_ADDR_SIZE (TARGET_MB_64 ? 8 : 4) | ||
20 | |||
21 | /* Target machine storage layout */ | ||
22 | |||
23 | -- | ||
24 | 2.17.1 | ||
25 | |||