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


On Sun, Jun 13, 1999 at 01:51:07PM -0700, mark@codesourcery.com 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;

Please use _bfd_strip_section_from_output instead.  I know it does
slightly more than required for these specific examples, but...

Otherwise it looks fine.


r~

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