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:
parent
9ef64a3112
commit
7d75790dad
1 changed files with 12 additions and 2 deletions
|
@ -191,16 +191,26 @@ SECTIONS
|
|||
GROUP_END(RAMABLE_REGION)
|
||||
|
||||
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.*")
|
||||
} GROUP_LINK_IN(SYSTEM_CONTROL_PERIPH)
|
||||
GROUP_END(SYSTEM_CONTROL_PERIPH)
|
||||
|
||||
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.*")
|
||||
} GROUP_LINK_IN(SYSTEM_CONTROL_SPACE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue