[PATCH] Entangle the C Program Heap initialization

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 1 16:03:19 UTC 2020


On 01/10/2020 17:07, Gedare Bloom wrote:

> This looks ok to me. I suppose eliminating the dependency requires the
> function pointer indirection. The only thing I don't see is why
> redefinition of the _Workspace_Malloc_initializer is allowed in both
> wkspacemallocinitdefault.c and in confdefs/wkspace.h. I would think
> that will cause an error for multiple definitions.
All the default definitions are contained in separate files in 
librtemscpu.a. They are only linked in the executable if they are not 
already defined by the module with the configuration data structures 
defined by confdefs.h AND required by the application.


More information about the devel mailing list