Support for a __param section in which we can put parameter things.

This commit is contained in:
px4dev 2012-08-18 22:03:48 -07:00
parent 2a5fcd9174
commit cd8a085e00
1 changed files with 9 additions and 2 deletions

View File

@ -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