zephyr/subsys/cpp
Evgeniy Paltsev 497cb2e587 CPP: fix static objects init for MWDT toolchain
The constructors of static objects are stored in ".ctors"
section. In case of MWDT toolchain we have incompatible
".ctors" section format with GNU toolchain. So let's use
initialization code provided by MWDT instead of Zephyr one
in case of MWDT toolchain usage.

As it is done for GNU toolchain We call constructors of
static objects but we don't call destructors for them.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2021-08-09 22:47:22 -04:00
..
include common: Add headers to support C++ style includes 2021-07-10 12:17:13 -04:00
CMakeLists.txt CPP: fix static objects init for MWDT toolchain 2021-08-09 22:47:22 -04:00
cpp_ctors.c cpp: support for 64-bit constructors 2019-07-30 18:55:34 -07:00
cpp_dtors.c cpp: mark __dso_handle as weak. 2018-04-09 23:21:52 -04:00
cpp_init.c CPP: fix static objects init for MWDT toolchain 2021-08-09 22:47:22 -04:00
cpp_init_array.c cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
cpp_new.cpp treewide: avoid use of unsupported C++ specifiers 2019-12-13 17:19:54 -06:00
cpp_virtual.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
cpp_vtable.cpp cpp: Use malloc/free instead of kernel variants in new/delete 2019-11-26 12:41:54 -06:00
Kconfig CPP: fix static objects init for MWDT toolchain 2021-08-09 22:47:22 -04:00