You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/09/11 19:02:52 UTC

[GitHub] mlampert commented on issue #1392: bugfix/c++ global constructor

mlampert commented on issue #1392: bugfix/c++ global constructor
URL: https://github.com/apache/mynewt-core/pull/1392#issuecomment-420385466
 
 
   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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services