From c6f4a970f1266ca62aedbe8b6220b419c85b8a9d Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 29 Aug 2019 12:13:00 -0700 Subject: [PATCH] soc: intel_s1000: add _heap_sentry to linker script Newlib requires a _heap_sentry so we add it to the linker script, similar to what other xtensa linker scripts. Signed-off-by: Daniel Leung --- soc/xtensa/intel_s1000/linker.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/xtensa/intel_s1000/linker.ld b/soc/xtensa/intel_s1000/linker.ld index 8ebf7c91170..2055754f899 100644 --- a/soc/xtensa/intel_s1000/linker.ld +++ b/soc/xtensa/intel_s1000/linker.ld @@ -442,6 +442,7 @@ SECTIONS *(.dma_buffers) _dma_buf_end = ABSOLUTE(.); } >LPRAM_REGION + _heap_sentry = DT_L2_SRAM_BASE + DT_L2_SRAM_SIZE; .comment 0 : { *(.comment) } .debug 0 : { *(.debug) } .line 0 : { *(.line) }