https://sourceware.org/bugzilla/show_bug.cgi?id=25617

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Kaylee from comment #18)
> 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?

Please try again.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to