mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-29 04:43:31 +08:00
[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:
@ -2057,7 +2057,8 @@ elf_arc_check_relocs (bfd * abfd,
|
|||||||
if (h == NULL)
|
if (h == NULL)
|
||||||
continue;
|
continue;
|
||||||
else
|
else
|
||||||
h->needs_plt = 1;
|
if (h->forced_local == 0)
|
||||||
|
h->needs_plt = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add info to the symbol got_entry_list. */
|
/* Add info to the symbol got_entry_list. */
|
||||||
|
Reference in New Issue
Block a user