From 9af682587489263d1b55c7ce1c82fa52e6d45313 Mon Sep 17 00:00:00 2001 From: Iuliana Prodan Date: Tue, 14 Nov 2023 00:56:35 +0200 Subject: [PATCH] nxp_adsp: linker: Add snippets to linker script The xtensa/nxp_adsp_imx8m linker script is missing the necessary include statements for linker snippets. So we need to add them. This fixes compile warnings like: orphan section `.unstable_id' from `modules/chre/lib..__modules__lib__chre__platform__zephyr.a (version.cc.obj)' being placed in section `.unstable_id'. Signed-off-by: Iuliana Prodan --- soc/xtensa/nxp_adsp/imx8m/linker.ld | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soc/xtensa/nxp_adsp/imx8m/linker.ld b/soc/xtensa/nxp_adsp/imx8m/linker.ld index b9d9303e96b..9687b604d6c 100644 --- a/soc/xtensa/nxp_adsp/imx8m/linker.ld +++ b/soc/xtensa/nxp_adsp/imx8m/linker.ld @@ -527,4 +527,6 @@ SECTIONS KEEP (*(.fw_metadata)) . = ALIGN(_EXT_MAN_ALIGN_); } >fw_metadata_seg :metadata_entries_phdr + + #include }