Commit 4f78d86e authored by Adithya Baglody's avatar Adithya Baglody Committed by Anas Nashif
Browse files

arch: arm: linker.ld: Fixed incorrect placement of noinit section



This was causing an incorrect hash for privileged stack.

Fixes: GH-10473
Fixes: GH-10474
Fixes: GH-10475
Fixes: GH-10476

Signed-off-by: default avatarAdithya Baglody <adithya.nagaraj.baglody@intel.com>
parent fd25c8b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -354,8 +354,6 @@ SECTIONS
	KERNEL_INPUT_SECTION(COMMON)
	*(".kernel_bss.*")

#include <linker/priv_stacks-noinit.ld>

        /*
         * As memory is cleared in words only, it is simpler to ensure the BSS
         * section ends on a 4 byte boundary. This wastes a maximum of 3 bytes.
@@ -373,6 +371,8 @@ SECTIONS
        KERNEL_INPUT_SECTION(".noinit.*")
	*(".kernel_noinit.*")

#include <linker/priv_stacks-noinit.ld>

#ifdef CONFIG_SOC_NOINIT_LD
#include <soc-noinit.ld>
#endif