1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

uavobj: Convert bootloader-compatible builds to autogen init

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2633 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
stac 2011-01-31 00:57:24 +00:00 committed by stac
parent 311bcdd492
commit 880a68a788
3 changed files with 22 additions and 2 deletions

View File

@ -17,6 +17,16 @@ SECTIONS
*(.rodata .rodata* .gnu.linkonce.r.*)
} > FLASH
/* init sections */
.initcalluavobj.init :
{
. = ALIGN(4);
__uavobj_initcall_start = .;
KEEP(*(.initcalluavobj.init))
. = ALIGN(4);
__uavobj_initcall_end = .;
} >FLASH
.ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
@ -51,4 +61,4 @@ SECTIONS
. = ALIGN(4);
_end = . ;
}
}

View File

@ -61,4 +61,4 @@ SECTIONS
. = ALIGN(4);
_end = . ;
}
}

View File

@ -218,6 +218,16 @@ SECTIONS
} >FLASH
/* init sections */
.initcalluavobj.init :
{
. = ALIGN(4);
__uavobj_initcall_start = .;
KEEP(*(.initcalluavobj.init))
. = ALIGN(4);
__uavobj_initcall_end = .;
} >FLASH
/* the program code is stored in the .text section, which goes to Flash */
.text :
{