forked from Imagelibrary/binutils-gdb
PR binutils/15417
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to zero.
This commit is contained in:
@@ -4665,7 +4665,7 @@ error_free_dyn:
|
||||
struct elf_link_hash_entry *hlook;
|
||||
asection *slook;
|
||||
bfd_vma vlook;
|
||||
size_t i, j, idx;
|
||||
size_t i, j, idx = 0;
|
||||
|
||||
hlook = weaks;
|
||||
weaks = hlook->u.weakdef;
|
||||
|
||||
Reference in New Issue
Block a user