esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size

The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
This commit is contained in:
Alexey Lapshin
2022-06-17 13:54:09 +04:00
parent 228cbc4dae
commit 0f98788d59
12 changed files with 9 additions and 18 deletions

View File

@@ -18,6 +18,8 @@ entries:
[sections:rodata]
entries:
.rodata+
.sdata2+
.srodata+
[sections:rtc_text]
entries: