Fix an unitialized variable (from binutils 2.13).
Fixes PR toolchain/20377.
This commit is contained in:
parent
e9d72b5b52
commit
28067ee7b9
2
gnu/dist/toolchain/bfd/elf64-sparc.c
vendored
2
gnu/dist/toolchain/bfd/elf64-sparc.c
vendored
@ -1968,6 +1968,8 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
while (h->root.type == bfd_link_hash_indirect
|
||||
|| h->root.type == bfd_link_hash_warning)
|
||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||
|
||||
relocation = 0;
|
||||
if (h->root.type == bfd_link_hash_defined
|
||||
|| h->root.type == bfd_link_hash_defweak)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user