forked from espressif/esp-idf
Merge branch 'bugfix/tls_alignment' into 'master'
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts See merge request espressif/esp-idf!14220
This commit is contained in:
@@ -311,14 +311,14 @@ SECTIONS
|
|||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} >default_rodata_seg
|
} >default_rodata_seg
|
||||||
|
|
||||||
|
_flash_rodata_align = ALIGNOF(.flash.rodata);
|
||||||
|
|
||||||
.flash.rodata_noload (NOLOAD) :
|
.flash.rodata_noload (NOLOAD) :
|
||||||
{
|
{
|
||||||
. = ALIGN (4);
|
. = ALIGN (4);
|
||||||
mapping[rodata_noload]
|
mapping[rodata_noload]
|
||||||
} > default_rodata_seg
|
} > default_rodata_seg
|
||||||
|
|
||||||
_flash_rodata_align = ALIGNOF(.flash.rodata_noload);
|
|
||||||
|
|
||||||
.flash.text :
|
.flash.text :
|
||||||
{
|
{
|
||||||
_stext = .;
|
_stext = .;
|
||||||
|
@@ -325,14 +325,14 @@ SECTIONS
|
|||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} >default_rodata_seg
|
} >default_rodata_seg
|
||||||
|
|
||||||
|
_flash_rodata_align = ALIGNOF(.flash.rodata);
|
||||||
|
|
||||||
.flash.rodata_noload (NOLOAD) :
|
.flash.rodata_noload (NOLOAD) :
|
||||||
{
|
{
|
||||||
. = ALIGN (4);
|
. = ALIGN (4);
|
||||||
mapping[rodata_noload]
|
mapping[rodata_noload]
|
||||||
} > default_rodata_seg
|
} > default_rodata_seg
|
||||||
|
|
||||||
_flash_rodata_align = ALIGNOF(.flash.rodata_noload);
|
|
||||||
|
|
||||||
.flash.text :
|
.flash.text :
|
||||||
{
|
{
|
||||||
_stext = .;
|
_stext = .;
|
||||||
|
@@ -363,14 +363,14 @@ SECTIONS
|
|||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} > default_rodata_seg
|
} > default_rodata_seg
|
||||||
|
|
||||||
|
_flash_rodata_align = ALIGNOF(.flash.rodata);
|
||||||
|
|
||||||
.flash.rodata_noload (NOLOAD) :
|
.flash.rodata_noload (NOLOAD) :
|
||||||
{
|
{
|
||||||
. = ALIGN (4);
|
. = ALIGN (4);
|
||||||
mapping[rodata_noload]
|
mapping[rodata_noload]
|
||||||
} > default_rodata_seg
|
} > default_rodata_seg
|
||||||
|
|
||||||
_flash_rodata_align = ALIGNOF(.flash.rodata_noload);
|
|
||||||
|
|
||||||
/* Marks the end of IRAM code segment */
|
/* Marks the end of IRAM code segment */
|
||||||
.iram0.text_end (NOLOAD) :
|
.iram0.text_end (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user