aboutsummaryrefslogtreecommitdiff
path: root/src/host/imxrt-link.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/imxrt-link.x')
-rw-r--r--src/host/imxrt-link.x6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/host/imxrt-link.x b/src/host/imxrt-link.x
index 7fcd76c..2a5deff 100644
--- a/src/host/imxrt-link.x
+++ b/src/host/imxrt-link.x
@@ -42,8 +42,9 @@ SECTIONS
__estack = .;
. += ALIGN(__stack_size, 8);
__sstack = .;
- /* Symbol expected by cortex-m-rt */
+ /* Symbols expected by cortex-m-rt */
_stack_start = __sstack;
+ _stack_end = __estack;
} > REGION_STACK
.vector_table : ALIGN(1024)
@@ -118,6 +119,9 @@ SECTIONS
} > REGION_DATA AT> REGION_LOAD_DATA
__sidata = LOADADDR(.data);
+ _ram_start = __sdata;
+ _ram_end = __edata;
+
.bss (NOLOAD) : ALIGN(4)
{
. = ALIGN(4);