Pending fixes for all-ABIs builds

Joseph Myers joseph@codesourcery.com
Tue Nov 8 23:22:00 GMT 2016


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



More information about the Libc-alpha mailing list