From 4eb1df81f64d7432fee53769c105c304ced7832a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 30 Aug 2018 10:17:46 +0200 Subject: [PATCH] [rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS --- ion/src/device/boot/rt0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ion/src/device/boot/rt0.cpp b/ion/src/device/boot/rt0.cpp index bf80908c7..1d37d6bc8 100644 --- a/ion/src/device/boot/rt0.cpp +++ b/ion/src/device/boot/rt0.cpp @@ -55,7 +55,7 @@ void start() { * between _init_array_start and _init_array_end. So to initialize all C++ * static objects we just have to iterate between theses two addresses and * call the pointed function. */ -#define SUPPORT_CPP_GLOBAL_CONSTRUCTORS 0 +#define SUPPORT_CPP_GLOBAL_CONSTRUCTORS 1 #if SUPPORT_CPP_GLOBAL_CONSTRUCTORS for (cxx_constructor * c = &_init_array_start; c<&_init_array_end; c++) { (*c)();