This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH for uninitialized junk in .dynsym


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]