From 09a2c0b3247605eca9a0cdd8450b9d4a88389ab1 Mon Sep 17 00:00:00 2001 From: Ming Yue Date: Thu, 17 Feb 2022 15:28:04 -0800 Subject: [PATCH] Remove exception loop tags. (#457) --- portable/GCC/RISC-V/portASM.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/portable/GCC/RISC-V/portASM.S b/portable/GCC/RISC-V/portASM.S index aa86b0ca5..58dfaf968 100644 --- a/portable/GCC/RISC-V/portASM.S +++ b/portable/GCC/RISC-V/portASM.S @@ -274,19 +274,17 @@ 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 __application_exception_handler_loop + j . /*-----------------------------------------------------------*/ 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 __application_interrupt_handler_loop + j . /*-----------------------------------------------------------*/ .section .text.freertos_risc_v_exception_handler