This is the mail archive of the
mailing list for the glibc project.
Re: extend dl-minimal malloc implementation
- From: DJ Delorie <dj at redhat dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 17 Aug 2017 12:16:42 -0400
- Subject: Re: extend dl-minimal malloc implementation
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dj at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8061F37E85
Zack Weinberg <email@example.com> writes:
> _Do_ we, though? Why does ld.so need to make any allocations at all
> above and beyond mapping in the libraries? It's an open question as
> far as I'm concerned.
The one complex case I bumped into was importing relocations and
resolving dependencies, where huge trees of data are created on the
stack, passed to other functions, and then abandoned.
Note that I only looked at that code long enough to know I didn't want
to touch it yet ;-)