bfd_sizeof_headers
Alan Modra
amodra@bigpond.net.au
Tue Jun 20 17:11:00 GMT 2006
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
More information about the Binutils
mailing list