Andrew Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame^] | 1 | From b3766742c4e1d401d4f7cdc55a90262681689a20 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 2 | From: Nagaraju Mekala <nmekala@xilix.com> |
| 3 | Date: Mon, 15 Oct 2018 12:00:10 +0530 |
Andrew Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame^] | 4 | Subject: [PATCH 44/58] extending the Dwarf support to 64bit Microblaze |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 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 |
Andrew Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame^] | 11 | index a36e06316aa..8504a841406 100644 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 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 | -- |
Andrew Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame^] | 24 | 2.17.1 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 25 | |