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:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user