WEAK functions declarations from retarget.cpp removal