mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
riscv/riscv_exception_common.S: Allow chips to define the exception
section. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
875dd46207
commit
e8134a8b57
@@ -49,6 +49,12 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Provide a default section for the exeception handler. */
|
||||
|
||||
#ifndef EXCEPTION_SECTION
|
||||
# define EXCEPTION_SECTION .text
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
@@ -62,7 +68,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
.section .text
|
||||
.section EXCEPTION_SECTION
|
||||
.global exception_common
|
||||
.align 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user