Skip to content

Commit c6f4a97

Browse files
dcpleunggalak
authored andcommitted
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 <[email protected]>
1 parent 46b9b15 commit c6f4a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/xtensa/intel_s1000/linker.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ SECTIONS
442442
*(.dma_buffers)
443443
_dma_buf_end = ABSOLUTE(.);
444444
} >LPRAM_REGION
445+
_heap_sentry = DT_L2_SRAM_BASE + DT_L2_SRAM_SIZE;
445446
.comment 0 : { *(.comment) }
446447
.debug 0 : { *(.debug) }
447448
.line 0 : { *(.line) }

0 commit comments

Comments
 (0)