|
From: | klkblake at gmail dot com |
Subject: | [Bug gold/25617] Gold looks up shared object information in section headers instead of the dynamic array |
Date: | Thu, 05 Mar 2020 22:49:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25617 --- Comment #18 from Kaylee <klkblake at gmail dot com> --- I get uninitialised variable usage errors when I try to build it, in this section of elf_link_is_defined_archive_symbol(): > if (elf_bad_symtab (abfd)) > { > extsymcount = symcount; > extsymoff = 0; > } > else > { > extsymcount = symcount - hdr->sh_info; > extsymoff = hdr->sh_info; > } Looks like symcount and hdr aren't initialized if extsymcount was nonzero in the previous conditional? -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |