]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[ARC] Fix local got entry list.
authorClaudiu Zissulescu <claziss@gmail.com>
Fri, 9 Nov 2018 11:14:00 +0000 (13:14 +0200)
committerClaudiu Zissulescu <claziss@gmail.com>
Thu, 15 Nov 2018 15:32:37 +0000 (17:32 +0200)
commit231c5ff116b70a68e7c3689006cec4fea0ecd575
tree89c6b5bd6941d1af36c4e883e5d9c07f6a0ae5bc
parent7b39c09faf95961ac141960a3449c0960a43e96b
[ARC] Fix local got entry list.

Fix a memory leak appearing when the local got entry list was constructed.

bfd/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* arc-got.h (arc_get_local_got_ents): Revamp it; use
elf_local_got_ents to store the local got list.
(get_got_entry_list_for_symbo): Restructure it.
* elf32-arc.c (elf_arc_relocate_section): Correct the call to
get_got_entry_list_for_symbol.
bfd/ChangeLog
bfd/arc-got.h
bfd/elf32-arc.c