mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
PR binutils/15417
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to zero.
This commit is contained in:
parent
f1d02dd44d
commit
ed54588daf
@ -1,3 +1,9 @@
|
|||||||
|
2013-04-30 Olaf Flebbe <o.flebbe@science-computing.de>
|
||||||
|
|
||||||
|
PR binutils/15417
|
||||||
|
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to
|
||||||
|
zero.
|
||||||
|
|
||||||
2013-04-30 Alan Modra <amodra@gmail.com>
|
2013-04-30 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* elflink.c (bfd_elf_record_link_assignment): Dont make
|
* elflink.c (bfd_elf_record_link_assignment): Dont make
|
||||||
|
@ -4665,7 +4665,7 @@ error_free_dyn:
|
|||||||
struct elf_link_hash_entry *hlook;
|
struct elf_link_hash_entry *hlook;
|
||||||
asection *slook;
|
asection *slook;
|
||||||
bfd_vma vlook;
|
bfd_vma vlook;
|
||||||
size_t i, j, idx;
|
size_t i, j, idx = 0;
|
||||||
|
|
||||||
hlook = weaks;
|
hlook = weaks;
|
||||||
weaks = hlook->u.weakdef;
|
weaks = hlook->u.weakdef;
|
||||||
|
Loading…
Reference in New Issue
Block a user