blob: 62a8e7de6c3ff4e0889be975740c446f57809365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 507032ec3840b48dfd709ef7c8f277eb0fabf5bb Mon Sep 17 00:00:00 2001
From: Nagaraju Mekala <nmekala@xilix.com>
Date: Sun, 30 Sep 2018 17:06:58 +0530
Subject: [PATCH 18/38] Fixing the branch related issues
Conflicts:
bfd/elf64-microblaze.c
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
bfd/elf64-microblaze.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bfd/elf64-microblaze.c b/bfd/elf64-microblaze.c
index 104d7a1334f..4c79bbe96c6 100644
--- a/bfd/elf64-microblaze.c
+++ b/bfd/elf64-microblaze.c
@@ -2566,6 +2566,9 @@ microblaze_elf_check_relocs (bfd * abfd,
while (h->root.type == bfd_link_hash_indirect
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
+ /* PR15323, ref flags aren't set for references in the same
+ object. */
+ h->root.non_ir_ref_regular = 1;
}
switch (r_type)
--
2.25.1
|