mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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 = .;
|
||||
} > ram
|
||||
|
||||
.relocate : AT (_etext)
|
||||
.relocate :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
_srelocate = .;
|
||||
@ -124,7 +124,7 @@ SECTIONS
|
||||
KEEP (*(.openocd .openocd.*))
|
||||
. = ALIGN(4);
|
||||
_erelocate = .;
|
||||
} > ram
|
||||
} > ram AT> rom
|
||||
|
||||
/* .bss section which is used for uninitialized data */
|
||||
.bss (NOLOAD) :
|
||||
|
Loading…
Reference in New Issue
Block a user