mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Merge remote-tracking branch 'origin/stac/ld-2.22-fix' into next
This commit is contained in:
commit
5907022b6d
@ -98,16 +98,9 @@ SECTIONS
|
|||||||
_init_stack_top = . - 4 ;
|
_init_stack_top = . - 4 ;
|
||||||
} > SRAM
|
} > SRAM
|
||||||
|
|
||||||
|
_eram = ORIGIN(SRAM) + LENGTH(SRAM) ;
|
||||||
|
_ebss = _eram ;
|
||||||
|
|
||||||
_free_ram = . ;
|
|
||||||
.free_ram (NOLOAD) :
|
|
||||||
{
|
|
||||||
. = ORIGIN(SRAM) + LENGTH(SRAM) - _free_ram ;
|
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
|
||||||
_ebss = . ;
|
|
||||||
_eram = . ;
|
|
||||||
} > SRAM
|
|
||||||
|
|
||||||
/* keep the heap section at the end of the SRAM
|
/* keep the heap section at the end of the SRAM
|
||||||
* this will allow to claim the remaining bytes not used
|
* this will allow to claim the remaining bytes not used
|
||||||
* at run time! (done by the reset vector).
|
* at run time! (done by the reset vector).
|
||||||
|
@ -275,14 +275,8 @@ SECTIONS
|
|||||||
_init_stack_top = . - 4 ;
|
_init_stack_top = . - 4 ;
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
_free_ram = . ;
|
_eram = ORIGIN(SRAM) + LENGTH(SRAM) ;
|
||||||
.free_ram (NOLOAD) :
|
_ebss = _eram ;
|
||||||
{
|
|
||||||
. = ORIGIN(RAM) + LENGTH(RAM) - _free_ram ;
|
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
|
||||||
_ebss = . ;
|
|
||||||
_eram = . ;
|
|
||||||
} > RAM
|
|
||||||
|
|
||||||
/* keep the heap section at the end of the SRAM
|
/* keep the heap section at the end of the SRAM
|
||||||
* this will allow to claim the remaining bytes not used
|
* this will allow to claim the remaining bytes not used
|
||||||
|
Loading…
Reference in New Issue
Block a user