In an effort to reduce code size I would like to remove the __TI_atexit() functionality from the rt-library and thus also remove malloc/free code. This should also remove all destructors for static objects that will never be called due to the design of the codebase.
The problem is I can't redirect those functions to my code because the compiler complains, and there seems no way to disable them short of modifying the rt-library code itself.
Any suggestions? This is for an msp430.