mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cortexm_common: specify load segment instead of load address for .data
This commit is contained in:
parent
157238bb64
commit
b8d6bcdb07
@ -115,7 +115,7 @@ SECTIONS
|
|||||||
_estack = .;
|
_estack = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
.relocate : AT (_etext)
|
.relocate :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_srelocate = .;
|
_srelocate = .;
|
||||||
@ -124,7 +124,7 @@ SECTIONS
|
|||||||
KEEP (*(.openocd .openocd.*))
|
KEEP (*(.openocd .openocd.*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_erelocate = .;
|
_erelocate = .;
|
||||||
} > ram
|
} > ram AT> rom
|
||||||
|
|
||||||
/* .bss section which is used for uninitialized data */
|
/* .bss section which is used for uninitialized data */
|
||||||
.bss (NOLOAD) :
|
.bss (NOLOAD) :
|
||||||
|
Loading…
Reference in New Issue
Block a user