1 From e4861c68067cb2166b4c2bb9c052abeb6ad9aaa1 Mon Sep 17 00:00:00 2001
2 From: Cupertino Miranda <cmiranda@synopsys.com>
3 Date: Fri, 2 Mar 2018 17:44:29 +0100
4 Subject: [PATCH] PLT information was still being generated when symbol was
7 A change upstream reveiled this issue, triggering an assert when linking glibc.
10 2018-03-01 Cupertino Miranda <cmiranda@synopsys.com>
12 * elf32-arc.c (elf_arc_check_relocs): Changed.
14 Signed-off-by: Cupertino Miranda <cmiranda@synopsys.com>
15 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
16 [Romain: rebase on top of 2.31]
17 Signed-off-by: Romain Naour <romain.naour@gmail.com>
19 Upstream-Status: Pending
21 bfd/elf32-arc.c | 3 ++-
22 1 file changed, 2 insertions(+), 1 deletion(-)
24 diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
25 index 9b72c5b4f4f..b40b463d34d 100644
28 @@ -2041,7 +2041,8 @@ elf_arc_check_relocs (bfd * abfd,
33 + if(h->forced_local == 0)
37 /* Add info to the symbol got_entry_list. */