From 093760b48c28596a727be103ac06a4b3c03d99bd Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Mon, 5 Sep 2022 15:00:22 +0300 Subject: [PATCH] mpfs_head.S: Mark .start section attributes explicitly a = allocated, x = executable. Otherwise the input section type will become empty, which means output section will be empty as well. --- arch/risc-v/src/mpfs/mpfs_head.S | 2 +- arch/risc-v/src/mpfs/mpfs_shead.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 /****************************************************************************