diff options
Diffstat (limited to 'nuttx-configs/px4cannode-v1/scripts/ld.script')
-rw-r--r-- | nuttx-configs/px4cannode-v1/scripts/ld.script | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/nuttx-configs/px4cannode-v1/scripts/ld.script b/nuttx-configs/px4cannode-v1/scripts/ld.script index 29719d454..f058f647c 100644 --- a/nuttx-configs/px4cannode-v1/scripts/ld.script +++ b/nuttx-configs/px4cannode-v1/scripts/ld.script @@ -47,8 +47,9 @@ MEMORY } OUTPUT_ARCH(arm) + ENTRY(__start) /* treat __start as the anchor for dead code stripping */ -EXTERN(_vectors) /* force the vectors to be included in the output */ +EXTERN(_vectors) /* force the vectors to be included in the output */ /* * Ensure that abort() is present in the final object. The exception handling * code pulled in by libgcc.a requires it (and that code cannot be easily avoided). @@ -84,6 +85,15 @@ SECTIONS _einit = ABSOLUTE(.); } > flash + /* + * Construction data for parameters. + */ + __param ALIGN(4): { + __param_start = ABSOLUTE(.); + KEEP(*(__param)) + __param_end = ABSOLUTE(.); + } > flash + .ARM.extab : { *(.ARM.extab*) } > flash |