diff options
author | px4dev <px4@purgatory.org> | 2012-10-27 21:48:09 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-27 21:48:09 -0700 |
commit | 11a7a374a8d0f3aa531e7954c7883a5080429bc8 (patch) | |
tree | e94ad55c7aee61c0fb43fdb6d435aa666c34cf97 /nuttx/configs | |
parent | f04c522f4f26284ba322122904ee57627ce4ccf7 (diff) | |
download | px4-firmware-11a7a374a8d0f3aa531e7954c7883a5080429bc8.tar.gz px4-firmware-11a7a374a8d0f3aa531e7954c7883a5080429bc8.tar.bz2 px4-firmware-11a7a374a8d0f3aa531e7954c7883a5080429bc8.zip |
Force the linker to keep all init functions. This might be going overboard, but without it we don't get any static constructors.
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/px4fmu/common/ld.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmu/common/ld.script b/nuttx/configs/px4fmu/common/ld.script index 7f74776c0..de8179e8d 100644 --- a/nuttx/configs/px4fmu/common/ld.script +++ b/nuttx/configs/px4fmu/common/ld.script @@ -92,7 +92,7 @@ SECTIONS */ .init_section : { _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) + KEEP(*(.init_array .init_array.*)) _einit = ABSOLUTE(.); } > flash |