commit | fe7f6cfe8385a48e1af563d474b7780c0ebfd654 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Thu Apr 17 15:15:59 2025 +0200 |
committer | Martin Storsjö <martin@martin.st> | Sun May 25 15:21:14 2025 +0300 |
tree | ec3a1856c19941618f4286e9ed2806109615be89 | |
parent | 51aafc95ce56872ee16077c83b7c5c52da2620fb [diff] |
crt: exe: Invoke gcc c++ constructors after msvc c++ constructors Function __main() is function for executing gcc c++ constructors. Move it into guarded code which prevents duplicate code execution, after executing msvc c++ constructors (__xc_a-__xc_z callbacks). Signed-off-by: Martin Storsjö <martin@martin.st>