diff options
Diffstat (limited to 'nuttx/configs/px4fmu/common/ld.script')
-rw-r--r-- | nuttx/configs/px4fmu/common/ld.script | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/configs/px4fmu/common/ld.script b/nuttx/configs/px4fmu/common/ld.script index b1852b0bd..7f74776c0 100644 --- a/nuttx/configs/px4fmu/common/ld.script +++ b/nuttx/configs/px4fmu/common/ld.script @@ -88,6 +88,15 @@ SECTIONS } > flash /* + * Init functions (static constructors and the like) + */ + .init_section : { + _sinit = ABSOLUTE(.); + *(.init_array .init_array.*) + _einit = ABSOLUTE(.); + } > flash + + /* * Construction data for parameters. */ __param ALIGN(4): { |