Skip to content

Commit

Permalink
mpfs_head.S: Mark .start section attributes explicitly
Browse files Browse the repository at this point in the history
a = allocated, x = executable. Otherwise the input section type will
become empty, which means output section will be empty as well.
  • Loading branch information
pussuw authored and xiaoxiang781216 committed Nov 16, 2022
1 parent f27065c commit 093760b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/risc-v/src/mpfs/mpfs_head.S
Expand Up @@ -38,7 +38,7 @@

.extern __trap_vec

.section .start
.section .start, "ax"
.global __start

__start:
Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/mpfs/mpfs_shead.S
Expand Up @@ -38,7 +38,7 @@

.extern __trap_vec

.section .start
.section .start, "ax"
.global __start

/****************************************************************************
Expand Down

0 comments on commit 093760b

Please sign in to comment.