ld: rename .ext_ram.noinit to .ext_ram_noinit

Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
This commit is contained in:
Marius Vikhammer 2021-08-10 11:13:50 +08:00
parent 1e8d1344a1
commit 6a2f7b6f88
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ extern "C" {
#if CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY
// Forces data into external memory noinit section to avoid initialization after restart.
#define EXT_RAM_NOINIT_ATTR _SECTION_ATTR_IMPL(".ext_ram.noinit", __COUNTER__)
#define EXT_RAM_NOINIT_ATTR _SECTION_ATTR_IMPL(".ext_ram_noinit", __COUNTER__)
#else
// Place in internal noinit section
#define EXT_RAM_NOINIT_ATTR __NOINIT_ATTR

View File

@ -201,10 +201,10 @@ SECTIONS
* This section holds data that won't be initialised when startup.
* This section locates in External RAM region.
*/
.ext_ram.noinit (NOLOAD) :
.ext_ram_noinit (NOLOAD) :
{
_ext_ram_noinit_start = ABSOLUTE(.);
*(.ext_ram.noinit*)
*(.ext_ram_noinit*)
. = ALIGN(4);
_ext_ram_noinit_end = ABSOLUTE(.);
} > extern_ram_seg