boards/esp32: Allocate .noinit in a dedicated section

This commit is contained in:
Gustavo Henrique Nihei 2021-04-28 07:30:24 -03:00 committed by Abdelatif Guettouche
parent ba23526e39
commit d9f2289d30
6 changed files with 36 additions and 6 deletions

View File

@ -94,8 +94,13 @@ SECTIONS
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg

View File

@ -100,8 +100,13 @@ SECTIONS
*(COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg

View File

@ -97,8 +97,13 @@ SECTIONS
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg

View File

@ -100,8 +100,13 @@ SECTIONS
*(COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg

View File

@ -97,8 +97,13 @@ SECTIONS
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg

View File

@ -100,8 +100,13 @@ SECTIONS
*(COMMON)
. = ALIGN(8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
} >dram0_0_seg