diff --git a/arch/risc-v/src/mpfs/mpfs_head.S b/arch/risc-v/src/mpfs/mpfs_head.S index 4e03261110..5a02329181 100644 --- a/arch/risc-v/src/mpfs/mpfs_head.S +++ b/arch/risc-v/src/mpfs/mpfs_head.S @@ -38,7 +38,7 @@ .extern __trap_vec - .section .start + .section .start, "ax" .global __start __start: diff --git a/arch/risc-v/src/mpfs/mpfs_shead.S b/arch/risc-v/src/mpfs/mpfs_shead.S index c42c68310c..795e4b93e3 100644 --- a/arch/risc-v/src/mpfs/mpfs_shead.S +++ b/arch/risc-v/src/mpfs/mpfs_shead.S @@ -38,7 +38,7 @@ .extern __trap_vec - .section .start + .section .start, "ax" .global __start /****************************************************************************