mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
boards/esp32: Allocate .noinit in a dedicated section
This commit is contained in:
committed by
Abdelatif Guettouche
parent
ba23526e39
commit
d9f2289d30
@@ -94,8 +94,13 @@ SECTIONS
|
|||||||
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
@@ -100,8 +100,13 @@ SECTIONS
|
|||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
@@ -97,8 +97,13 @@ SECTIONS
|
|||||||
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
@@ -100,8 +100,13 @@ SECTIONS
|
|||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
@@ -97,8 +97,13 @@ SECTIONS
|
|||||||
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
*libarch.a:esp32_spiflash.*(.bss .bss.* COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
@@ -100,8 +100,13 @@ SECTIONS
|
|||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
*(.noinit)
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|||||||
Reference in New Issue
Block a user