Provide our own malloc, free and calloc functions in AROSBootstrap.
commitcf53efae4b322ac5968c14eff8a993d7e838e40f
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 20 Nov 2010 10:13:01 +0000 (20 10:13 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 20 Nov 2010 10:13:01 +0000 (20 10:13 +0000)
tree16fc94f7c666f9278b2d3db63a0f52a17a19ad8d
parent323f0644c8a8f7fe1fbc11b4f477b8ff43b69f35
Provide our own malloc, free and calloc functions in AROSBootstrap.
Since this is the only executable loaded by Host directly, it's global
functions will be visible for all shared objects loaded by dlopen.
Therefore, AROSBootstrap memory managment routines will be used.

These operations were singlethreaded in libc code and so they have to be
on AROS. This commit fixes random lockups of hosted targets (mostly
visible on slower machines)

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@35652 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/all-hosted/bootstrap/bootstrap.c