add dummy SUPER_REALLOC/CALLOC calls to alloc wrappers
This code prevents the ARMC6 compiler/linker from removing
SUB_REALLOC/CALLOC symbols from image when LTO is enabled

Fixes below error:
L6137E: Symbol $Sub$$calloc was not preserved by the LTO codegen but is needed by the image.
ls
1 parent 783953e commit 63d14f3af4ffa4d4d6416cea3b25c6420fbed6f3
@Maciej Bocianski Maciej Bocianski authored on 29 Nov 2019
Showing 1 changed file
View
platform/source/mbed_alloc_wrappers.cpp