diff --git a/components/esp32/ld/esp32.project.ld.in b/components/esp32/ld/esp32.project.ld.in index dc770b059c..266e3a9bc0 100644 --- a/components/esp32/ld/esp32.project.ld.in +++ b/components/esp32/ld/esp32.project.ld.in @@ -344,14 +344,14 @@ SECTIONS . = ALIGN(4); } >default_rodata_seg + _flash_rodata_align = ALIGNOF(.flash.rodata); + .flash.rodata_noload (NOLOAD) : { . = ALIGN (4); mapping[rodata_noload] } > default_rodata_seg - _flash_rodata_align = ALIGNOF(.flash.rodata_noload); - .flash.text : { _stext = .; diff --git a/components/esp32s2/ld/esp32s2.project.ld.in b/components/esp32s2/ld/esp32s2.project.ld.in index af5c2e07c3..2e5997124c 100644 --- a/components/esp32s2/ld/esp32s2.project.ld.in +++ b/components/esp32s2/ld/esp32s2.project.ld.in @@ -339,14 +339,14 @@ SECTIONS . = ALIGN(4); } >default_rodata_seg + _flash_rodata_align = ALIGNOF(.flash.rodata); + .flash.rodata_noload (NOLOAD) : { . = ALIGN (4); mapping[rodata_noload] } > default_rodata_seg - _flash_rodata_align = ALIGNOF(.flash.rodata_noload); - .flash.text : { _stext = .; diff --git a/components/esp32s3/ld/esp32s3.project.ld.in b/components/esp32s3/ld/esp32s3.project.ld.in index 89796dfb02..15393bd762 100644 --- a/components/esp32s3/ld/esp32s3.project.ld.in +++ b/components/esp32s3/ld/esp32s3.project.ld.in @@ -401,14 +401,14 @@ SECTIONS . = ALIGN(4); } > default_rodata_seg + _flash_rodata_align = ALIGNOF(.flash.rodata); + .flash.rodata_noload (NOLOAD) : { . = ALIGN (4); mapping[rodata_noload] } > default_rodata_seg - _flash_rodata_align = ALIGNOF(.flash.rodata_noload); - /* Marks the end of IRAM code segment */ .iram0.text_end (NOLOAD) : {