This backwards though, the function `__libc_init_array`  has to be called. It 
is how all global constructors are called. Replacing it with an empty 
implementation means breaking support for C++.

If there are systems where the toolchain doesn't have a `__libc_init_array` 
then the startup code in the BSP shouldn't call it and use whatever their 
system provides in order to initialize the globals.

[ Full content available at: https://github.com/apache/mynewt-core/pull/1392 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to