minor: delete out-dated comments in the link.lds for cortex-m0
This commit is contained in:
parent
3e0541ae3e
commit
fab79b5999
|
@ -1,8 +1,7 @@
|
|||
/* NRF51822.ld -- Copyright (c) 2018 J. M. Spivey */
|
||||
|
||||
MEMORY {
|
||||
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000
|
||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000
|
||||
flash (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000
|
||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000
|
||||
}
|
||||
|
||||
OUTPUT_FORMAT ("elf32-littlearm")
|
||||
|
@ -35,14 +34,14 @@ SECTIONS {
|
|||
|
||||
PROVIDE(_etext = ABSOLUTE(.));
|
||||
_etext = .;
|
||||
} > FLASH = 0
|
||||
} > flash = 0
|
||||
|
||||
__exidx_start = .;
|
||||
.ARM.exidx :
|
||||
{
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
_sidata = .;
|
||||
} > FLASH
|
||||
} > flash
|
||||
__exidx_end = .;
|
||||
|
||||
.data : AT (_sidata) {
|
||||
|
@ -51,7 +50,7 @@ SECTIONS {
|
|||
*(.data*)
|
||||
. = ALIGN(4);
|
||||
_edata = .;
|
||||
} > RAM
|
||||
} > sram
|
||||
|
||||
.bss : {
|
||||
. = ALIGN(4);
|
||||
|
@ -60,14 +59,14 @@ SECTIONS {
|
|||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
_ebss = .;
|
||||
} > RAM
|
||||
} > sram
|
||||
__bss_end = .;
|
||||
__end = .;
|
||||
|
||||
.stack ORIGIN(RAM) + LENGTH(RAM) - __SYSTEM_STACKSIZE__ :
|
||||
.stack ORIGIN(sram) + LENGTH(sram) - __SYSTEM_STACKSIZE__ :
|
||||
{
|
||||
PROVIDE( _heap_end = . );
|
||||
. = __SYSTEM_STACKSIZE__;
|
||||
PROVIDE( _sp = . );
|
||||
} >RAM
|
||||
} >sram
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue