231c5ff [ARC] Fix local got entry list.

Authored and Committed by Claudiu Zissulescu 5 years ago
    [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.
    
        
file modified
+10 -0
file modified
+15 -18
file modified
+1 -1