This is the mail archive of the
mailing list for the binutils project.
On Tue, Jun 20, 2006 at 06:49:46PM +0200, Andreas Schwab wrote:
> Alan Modra <email@example.com> 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.
IBM OzLabs - Linux Technology Centre