diff options
author | px4dev <px4@purgatory.org> | 2012-08-18 22:03:48 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-19 01:31:26 -0700 |
commit | cd8a085e00a546b36b8b5a5bae125350008cf8a0 (patch) | |
tree | 47f1f6f91fa3a88e96b39c772b2d66cdc85071fe | |
parent | 2a5fcd917428fa6e549214f8066690672b453af0 (diff) | |
download | px4-firmware-cd8a085e00a546b36b8b5a5bae125350008cf8a0.tar.gz px4-firmware-cd8a085e00a546b36b8b5a5bae125350008cf8a0.tar.bz2 px4-firmware-cd8a085e00a546b36b8b5a5bae125350008cf8a0.zip |
Support for a __param section in which we can put parameter things.
-rw-r--r-- | nuttx/configs/px4fmu/common/ld.script | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/configs/px4fmu/common/ld.script b/nuttx/configs/px4fmu/common/ld.script index e3ca771b1..b1852b0bd 100644 --- a/nuttx/configs/px4fmu/common/ld.script +++ b/nuttx/configs/px4fmu/common/ld.script @@ -75,8 +75,6 @@ SECTIONS *(.gnu.warning) *(.rodata .rodata.*) *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) *(.got) *(.gcc_except_table) *(.gnu.linkonce.r.*) @@ -89,6 +87,15 @@ SECTIONS __errno = get_errno_ptr; } > flash + /* + * Construction data for parameters. + */ + __param ALIGN(4): { + __param_start = ABSOLUTE(.); + KEEP(*(__param*)) + __param_end = ABSOLUTE(.); + } > flash + .ARM.extab : { *(.ARM.extab*) } > flash |