linker: arm: place priv.noinit at the end of RAM

This puts the priviledged stack at the end of RAM.
This combines PR #10507 and #10542.

Fixes #10473
Fixes #10474
Fixes #10515

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Adithya Baglody 2018-10-19 10:15:19 -07:00 committed by Anas Nashif
commit 1fa8cf9279
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,10 @@
/*
* Copyright (c) 2017 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
SECTION_DATA_PROLOGUE(priv_stacks_noinit,,)
{
*(".priv_stacks.noinit")
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)