nxp_adsp: linker: Fix _heap_sentry reference

Add _heap_sentry value to fix build errors for
newlib, like: "undefined reference to `_heap_sentry'"

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-11-11 01:31:10 +02:00 committed by Carles Cufí
commit 9cac089f8c

View file

@ -453,6 +453,8 @@ SECTIONS
_end = ALIGN (8);
PROVIDE(end = ALIGN (8));
/* Mostly unused, though newlib likes them */
_heap_sentry = .;
__stack = SDRAM1_BASE + SDRAM1_SIZE;
.comment 0 : { *(.comment) }
.debug 0 : { *(.debug) }