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 <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2022-06-30 23:04:39 -04:00 committed by Carles Cufí
parent 4e90efa79f
commit f4dc5ac565

View File

@ -357,7 +357,7 @@ SECTIONS
*/
#include <snippets-noinit.ld>
} GROUP_LINK_IN(RAMABLE_REGION)
} GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
#endif /* CONFIG_USERSPACE */
/* Define linker symbols */