mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	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
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Sections emitted by compiler by default.
 | 
						|
 | 
						|
[sections:text]
 | 
						|
entries:
 | 
						|
    .text+
 | 
						|
    .literal+
 | 
						|
 | 
						|
[sections:data]
 | 
						|
entries:
 | 
						|
    .data+
 | 
						|
 | 
						|
[sections:bss]
 | 
						|
entries:
 | 
						|
    .bss+
 | 
						|
 | 
						|
[sections:common]
 | 
						|
entries:
 | 
						|
    COMMON
 | 
						|
 | 
						|
[sections:legacy_bss]
 | 
						|
entries:
 | 
						|
    .dynsbss
 | 
						|
    .sbss+
 | 
						|
    .gnu.linkonce.sb+
 | 
						|
    .scommon
 | 
						|
    .sbss2+
 | 
						|
    .gnu.linkonce.sb2+
 | 
						|
    .dynbss
 | 
						|
    .share.mem
 | 
						|
    .gnu.linkonce.b+
 | 
						|
 | 
						|
[sections:rodata]
 | 
						|
entries:
 | 
						|
    .rodata+
 | 
						|
    .sdata2+
 | 
						|
    .srodata+
 |