PATCH for uninitialized junk in .dynsym
Richard Henderson
rth@cygnus.com
Thu Jul 1 00:00:00 GMT 1999
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~
More information about the Binutils
mailing list