60fdec616b
__cxa_atexit implementation provided by MWDT startup code calls malloc which isn't supported right now. As we don't support calling static destructors in Zephyr let's provide our own __cxa_atexit stub and get rid of MWDT startup libs entirely. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
6 lines
129 B
CMake
6 lines
129 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_ARCMWDT_LIBC OR CONFIG_CPLUSPLUS)
|
|
zephyr_sources(arcmwdt-dtr-stubs.c)
|
|
endif()
|