diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0016-Fixing-the-branch-related-issues.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0016-Fixing-the-branch-related-issues.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0016-Fixing-the-branch-related-issues.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0016-Fixing-the-branch-related-issues.patch new file mode 100644 index 00000000..f3a7267d --- /dev/null +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0016-Fixing-the-branch-related-issues.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 3a46bc21f52c7b5ccbd408eeecd7145b856f6b1d Mon Sep 17 00:00:00 2001 | ||
2 | From: Nagaraju Mekala <nmekala@xilix.com> | ||
3 | Date: Sun, 30 Sep 2018 17:06:58 +0530 | ||
4 | Subject: [PATCH 16/34] Fixing the branch related issues | ||
5 | |||
6 | Conflicts: | ||
7 | bfd/elf64-microblaze.c | ||
8 | --- | ||
9 | bfd/elf64-microblaze.c | 3 +++ | ||
10 | 1 file changed, 3 insertions(+) | ||
11 | |||
12 | diff --git a/bfd/elf64-microblaze.c b/bfd/elf64-microblaze.c | ||
13 | index 951bb36506d..6d698383404 100644 | ||
14 | --- a/bfd/elf64-microblaze.c | ||
15 | +++ b/bfd/elf64-microblaze.c | ||
16 | @@ -2559,6 +2559,9 @@ microblaze_elf_check_relocs (bfd * abfd, | ||
17 | while (h->root.type == bfd_link_hash_indirect | ||
18 | || h->root.type == bfd_link_hash_warning) | ||
19 | h = (struct elf_link_hash_entry *) h->root.u.i.link; | ||
20 | + /* PR15323, ref flags aren't set for references in the same | ||
21 | + object. */ | ||
22 | + h->root.non_ir_ref_regular = 1; | ||
23 | } | ||
24 | |||
25 | switch (r_type) | ||
26 | -- | ||
27 | 2.37.1 (Apple Git-137.1) | ||
28 | |||