This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 093760b48c mpfs_head.S: Mark .start section attributes explicitly
093760b48c is described below

commit 093760b48c28596a727be103ac06a4b3c03d99bd
Author: Ville Juven <ville.ju...@unikie.com>
AuthorDate: Mon Sep 5 15:00:22 2022 +0300

    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
 
 /****************************************************************************

Reply via email to