mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 11:09:01 +01:00 
			
		
		
		
	Use a dedicated symbol for in-function loop to avoid the weak symbol JAL range error when a strong symbol is defined outside. (#455)
This commit is contained in:
		
							parent
							
								
									d5b2413f48
								
							
						
					
					
						commit
						25d180a09b
					
				@ -274,17 +274,19 @@ xPortStartFirstTask:
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
freertos_risc_v_application_exception_handler:
 | 
			
		||||
__application_exception_handler_loop:
 | 
			
		||||
    csrr t0, mcause     /* For viewing in the debugger only. */
 | 
			
		||||
    csrr t1, mepc       /* For viewing in the debugger only */
 | 
			
		||||
    csrr t2, mstatus    /* For viewing in the debugger only */
 | 
			
		||||
    j freertos_risc_v_application_exception_handler
 | 
			
		||||
    j __application_exception_handler_loop
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
freertos_risc_v_application_interrupt_handler:
 | 
			
		||||
__application_interrupt_handler_loop:
 | 
			
		||||
    csrr t0, mcause     /* For viewing in the debugger only. */
 | 
			
		||||
    csrr t1, mepc       /* For viewing in the debugger only */
 | 
			
		||||
    csrr t2, mstatus    /* For viewing in the debugger only */
 | 
			
		||||
    j freertos_risc_v_application_interrupt_handler
 | 
			
		||||
    j __application_interrupt_handler_loop
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
.section .text.freertos_risc_v_exception_handler
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user