From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: rth@cygnus.com Cc: mark@codesourcery.com, binutils@sourceware.cygnus.com Subject: Re: PATCH for uninitialized junk in .dynsym Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <19990614004051.13263.qmail@daffy.airs.com> References: <19990613135107N.mitchell@codesourcery.com> <19990613171634.A9797@cygnus.com> <19990614002945.13201.qmail@daffy.airs.com> <19990613173725.B9797@cygnus.com> <19990613173725.B9797@cygnus.com> X-SW-Source: 1999-q2/msg00235.html Date: Sun, 13 Jun 1999 17:37:25 -0700 From: Richard Henderson 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