mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
a94c52b204
For Linux, we rename the section so that they are not invoked. However, it doesn't work for macOS. Notes: * Renaming the sections (as the Linux version does) doesn't work because the section is looked by its flags, not by its names. * No convenient tools available to alter the relevant bit in the section flags. * The constructors are invoked before the program entry point.