From f4dc5ac565d6e2cbcaa2dc43f1122e2364b70ecc Mon Sep 17 00:00:00 2001 From: Andriy Gelman Date: Thu, 30 Jun 2022 23:04:39 -0400 Subject: [PATCH] linker: Use a different macro to set vma for the noinit section The two macros are the same in this context. But an SoC may redefine the GROUP_LINK_IN() macro which could introduce an unintended change in this part of the linker script. Signed-off-by: Andriy Gelman --- include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld b/include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld index 796a2f80a09..8f85c5a54c6 100644 --- a/include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld +++ b/include/zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld @@ -357,7 +357,7 @@ SECTIONS */ #include - } GROUP_LINK_IN(RAMABLE_REGION) + } GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, RAMABLE_REGION) #endif /* CONFIG_USERSPACE */ /* Define linker symbols */