Rename scp and scs sections

Renaming the "scp" and "scs" sections to ".scp" and ".scs" respectively
signals the "truesize" tool to ignore them as they occupy neither normal ROM
nor normal RAM space.

Change-Id: Ic22013965b20d0c14e08d4d0332f2b7d028d10d9
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-04-29 12:54:28 -04:00 committed by Anas Nashif
commit 7d75790dad

View file

@ -191,16 +191,26 @@ SECTIONS
GROUP_END(RAMABLE_REGION) GROUP_END(RAMABLE_REGION)
GROUP_START(SYSTEM_CONTROL_PERIPH) GROUP_START(SYSTEM_CONTROL_PERIPH)
SECTION_PROLOGUE(scp,(NOLOAD),) SECTION_PROLOGUE(.scp,(NOLOAD),)
{ {
/*
* The leading '.' in the ".scp" section name indicates that section is
* mapped to neither a normal ROM nor a normal RAM area.
*/
*(.scp) *(.scp)
*(".scp.*") *(".scp.*")
} GROUP_LINK_IN(SYSTEM_CONTROL_PERIPH) } GROUP_LINK_IN(SYSTEM_CONTROL_PERIPH)
GROUP_END(SYSTEM_CONTROL_PERIPH) GROUP_END(SYSTEM_CONTROL_PERIPH)
GROUP_START(SYSTEM_CONTROL_SPACE) GROUP_START(SYSTEM_CONTROL_SPACE)
SECTION_PROLOGUE(scs,(NOLOAD),) SECTION_PROLOGUE(.scs,(NOLOAD),)
{ {
/*
* The leading '.' in the ".scs" section name indicates that section is
* mapped to neither normal ROM nor normal RAM space.
*/
*(.scs) *(.scs)
*(".scs.*") *(".scs.*")
} GROUP_LINK_IN(SYSTEM_CONTROL_SPACE) } GROUP_LINK_IN(SYSTEM_CONTROL_SPACE)