diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch deleted file mode 100644 index 55fcf92a..00000000 --- a/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 5f27701e5c8bd1784e1c814fb527a1f8f7755ad9 Mon Sep 17 00:00:00 2001 | ||
2 | From: David Holsgrove <david.holsgrove@xilinx.com> | ||
3 | Date: Wed, 27 Feb 2013 13:56:11 +1000 | ||
4 | Subject: [PATCH 05/34] upstream change to garbage collection sweep causes mb | ||
5 | regression | ||
6 | |||
7 | Upstream change for PR13177 now clears the def_regular during gc_sweep of a | ||
8 | section. (All other archs in binutils/bfd/elf32-*.c received an update | ||
9 | to a warning about unresolvable relocations - this warning is not present | ||
10 | in binutils/bfd/elf32-microblaze.c, but this warning check would not | ||
11 | prevent the error being seen) | ||
12 | |||
13 | The visible issue with this change is when running a c++ application | ||
14 | in Petalinux which links libstdc++.so for exception handling it segfaults | ||
15 | on execution. | ||
16 | |||
17 | This does not occur if static linking libstdc++.a, so its during the | ||
18 | relocations for a shared lib with garbage collection this occurs | ||
19 | |||
20 | Upstream-Status: Pending | ||
21 | |||
22 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> | ||
23 | |||
24 | Conflicts: | ||
25 | bfd/elflink.c | ||
26 | --- | ||
27 | bfd/elflink.c | 1 - | ||
28 | 1 file changed, 1 deletion(-) | ||
29 | |||
30 | diff --git a/bfd/elflink.c b/bfd/elflink.c | ||
31 | index 2b1450fa4e1..c50919060b3 100644 | ||
32 | --- a/bfd/elflink.c | ||
33 | +++ b/bfd/elflink.c | ||
34 | @@ -6576,7 +6576,6 @@ elf_gc_sweep_symbol (struct elf_link_hash_entry *h, void *data) | ||
35 | |||
36 | inf = (struct elf_gc_sweep_symbol_info *) data; | ||
37 | (*inf->hide_symbol) (inf->info, h, true); | ||
38 | - h->def_regular = 0; | ||
39 | h->ref_regular = 0; | ||
40 | h->ref_regular_nonweak = 0; | ||
41 | } | ||
42 | -- | ||
43 | 2.37.1 (Apple Git-137.1) | ||
44 | |||