mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 00:21:44 +01:00 
			
		
		
		
	Add new Kconfig option to enable -msave-restore flag for RISC-V targets. This option can be used to reduce binary size by replacing inlined register save/restore sequences with library calls.
		
			
				
	
	
		
			14 lines
		
	
	
		
			246 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			246 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[mapping:gcc]
 | 
						|
archive: libgcc.a
 | 
						|
entries:
 | 
						|
    lib2funcs (noflash_text)
 | 
						|
    if IDF_TARGET_ESP32 = n:
 | 
						|
        _divsf3 (noflash)
 | 
						|
    if IDF_TARGET_ARCH_RISCV:
 | 
						|
        save-restore (noflash)
 | 
						|
 | 
						|
[mapping:gcov]
 | 
						|
archive: libgcov.a
 | 
						|
entries:
 | 
						|
    * (noflash)
 |