From 376e1310f6e108662a1c934ac4355b13e86a0fb6 Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Tue, 2 Mar 2021 10:08:17 -0800 Subject: [PATCH] soc/intel_adsp_cavs15: Unbreak newlib linkage In commit efa05d1e42da ("soc/intel_adsp: Put initial stack into the CPU0 interrupt stack") the "_end" symbol was accidentally removed from the linker script. Newlib needs this to size its heap. Signed-off-by: Andy Ross --- soc/xtensa/intel_adsp/cavs_v15/linker.ld | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soc/xtensa/intel_adsp/cavs_v15/linker.ld b/soc/xtensa/intel_adsp/cavs_v15/linker.ld index 3ff29df6584..abec9db14e0 100644 --- a/soc/xtensa/intel_adsp/cavs_v15/linker.ld +++ b/soc/xtensa/intel_adsp/cavs_v15/linker.ld @@ -502,6 +502,8 @@ SECTIONS /* Initial/boot stack lives in the CPU0 interrupt stack */ __stack = z_interrupt_stacks + CONFIG_ISR_STACK_SIZE; + _end = .; + /* dma buffers */ .lpbuf (NOLOAD): ALIGN(4) {