[PATCH v2] malloc: Remove malloc hooks (Bug 23328)

Florian Weimer fw@deneb.enyo.de
Mon Jul 2 21:01:00 GMT 2018


* DJ Delorie:

> Florian Weimer <fw@deneb.enyo.de> writes:
>> Dummy hooks?  I meant to initialize not the hooks, but the next_*
>> variables.
>
> That's what I was referring to.
>
> Or did you mean "look up all the symbols the first time you need any of
> them" ?

Correct.  At that point, you are still single-threaded, so you don't
need all that complicated synchronization.  (You might need a dummy
allocation for bootstrapping, though.)



More information about the Libc-alpha mailing list