diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0027-Patch-MicroBlaze-improper-address-mapping-of-PROVIDE.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0027-Patch-MicroBlaze-improper-address-mapping-of-PROVIDE.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0027-Patch-MicroBlaze-improper-address-mapping-of-PROVIDE.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0027-Patch-MicroBlaze-improper-address-mapping-of-PROVIDE.patch deleted file mode 100644 index 9bddd54b..00000000 --- a/meta-microblaze/recipes-devtools/binutils/binutils/0027-Patch-MicroBlaze-improper-address-mapping-of-PROVIDE.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 7f4c17e26065d8194a2512f2982c245afa0e7e40 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Wed, 17 Jun 2020 21:20:26 +0530 | ||
4 | Subject: [PATCH 27/34] [Patch,MicroBlaze] : improper address mapping of | ||
5 | PROVIDE directive symbols[DTOR_END] are causing runtime loops and we don't | ||
6 | need to override PROVIDE symbols if symbols are defined in libraries and | ||
7 | linker so I am disabling override for PROVIDE symbols. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
12 | |||
13 | --- | ||
14 | ld/ldlang.c | 12 +++++++++--- | ||
15 | 1 file changed, 9 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/ld/ldlang.c b/ld/ldlang.c | ||
18 | index f12c09633a7..4a71abc7cbc 100644 | ||
19 | --- a/ld/ldlang.c | ||
20 | +++ b/ld/ldlang.c | ||
21 | @@ -3692,10 +3692,16 @@ open_input_bfds (lang_statement_union_type *s, enum open_bfd_mode mode) | ||
22 | plugin_insert = NULL; | ||
23 | #endif | ||
24 | break; | ||
25 | + /* This is from a --defsym on the command line. */ | ||
26 | case lang_assignment_statement_enum: | ||
27 | - if (s->assignment_statement.exp->type.node_class != etree_assert) | ||
28 | - exp_fold_tree_no_dot (s->assignment_statement.exp); | ||
29 | - break; | ||
30 | + if (s->assignment_statement.exp->type.node_class != etree_assert) | ||
31 | + { | ||
32 | + if(!(s->assignment_statement.exp->assign.defsym) && (s->assignment_statement.exp->type.node_class == etree_provide)) | ||
33 | + ; | ||
34 | + else | ||
35 | + exp_fold_tree_no_dot (s->assignment_statement.exp); | ||
36 | + } | ||
37 | + break; | ||
38 | default: | ||
39 | break; | ||
40 | } | ||
41 | -- | ||
42 | 2.37.1 (Apple Git-137.1) | ||
43 | |||