PATCH for uninitialized junk in .dynsym

Ian Lance Taylor ian@zembu.com
Thu Jul 1 00:00:00 GMT 1999


   Date: Sun, 13 Jun 1999 17:37:25 -0700
   From: Richard Henderson <rth@cygnus.com>

   On Sun, Jun 13, 1999 at 08:29:45PM -0400, Ian Lance Taylor wrote:
   >    > +  /* Remove the section from the output list.  */
   >    > +  for (spp = &abfd->sections;
   >    > +       *spp != section->output_section;
   >    > +       spp = &(*spp)->next)
   >    > +    ;
   >    > +  *spp = section->output_section->next;
   >    > +  --abfd->section_count;
   > 
   > ... In this case, there is no input section to pass it.

   Certainly there is: `section'.  That's where `section->output_section'
   comes from.

Whoops, you're right, I'm badly confused.

Yes, this code should be changed to use
_bfd_strip_section_from_output.

Ian


More information about the Binutils mailing list