This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Pending fixes for all-ABIs builds
On Tue, 8 Nov 2016, Florian Weimer wrote:
> But there's one pre-existing issue I've been wondering about for a while
> (along with the s390 maintainers): I don't understand why we have PLT
> references to malloc & friends in ld.so. The malloc implementation there is
> not compliant with the C requirements. Why is it exported, and why do we use
> GOT indirection to call it?
My understanding is that it's meant to be interposable by a user-provided
malloc implementation. See
<https://sourceware.org/ml/libc-alpha/2014-01/msg00719.html>, item 3.
--
Joseph S. Myers
joseph@codesourcery.com