system.ld: Add 64KB heap.

This commit is contained in:
Kelvin Lawson
2012-09-21 02:38:09 +01:00
parent f5de0d76ae
commit af6671019f

View File

@@ -57,8 +57,12 @@ SECTIONS
_end_bss = .;
__bss_end__ = . ;
. = ALIGN(256);
. = ALIGN(8);
heap_low = .; /* for _sbrk */
. = . + 0x10000; /* 64kB of heap memory */
heap_top = .; /* for _sbrk */
. = ALIGN(256);
.stack : {
__stack_start__ = . ;
@@ -83,12 +87,10 @@ SECTIONS
__stack_end__ = .;
} >sram
/*DISCARD :
{
*(.eh_*)
}*/
}
_end = .;
PROVIDE(end = .);
PROVIDE(end = .);