[ARC] PLT information was still being generated when symbol was forced_local.

A change upstream reveiled this issue, triggering an assert when linking glibc.

bfd/
2018-03-01  Cupertino Miranda <cmiranda@synopsys.com>

	* elf32-arc.c (elf_arc_check_relocs): Changed.
This commit is contained in:
Cupertino Miranda
2018-03-02 17:44:29 +01:00
parent 2936af9015
commit ab16fcd743

View File

@ -2057,6 +2057,7 @@ elf_arc_check_relocs (bfd * abfd,
if (h == NULL) if (h == NULL)
continue; continue;
else else
if (h->forced_local == 0)
h->needs_plt = 1; h->needs_plt = 1;
} }