1
0
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:
Joakim Nohlgård 2018-05-06 07:22:06 +02:00
parent 157238bb64
commit b8d6bcdb07

View File

@ -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) :