This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: bfd_sizeof_headers


On Tue, Jun 20, 2006 at 06:49:46PM +0200, Andreas Schwab wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
> > +	  /* If we don't have user supplied phdrs, throw away any
> > +	     previous linker generated program headers.  */
> > +	  if (lang_phdr_list == NULL)
> > +	    elf_tdata (output_bfd)->segment_map = NULL;
> 
> Can this leak significant amount of memory?

No.  It's on an obstack, so can't be reclaimed easily.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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