summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/riscv/linkcmdsbase.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/build/bsps/riscv/linkcmdsbase.yml b/spec/build/bsps/riscv/linkcmdsbase.yml
index 6a4b497591..66bf65fbaa 100644
--- a/spec/build/bsps/riscv/linkcmdsbase.yml
+++ b/spec/build/bsps/riscv/linkcmdsbase.yml
@@ -319,7 +319,7 @@ content: |
.noinit (NOLOAD) : ${LINKCMDS_ALIGN_DIRECTIVE} {
bsp_section_noinit_begin = .;
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
bsp_section_noinit_end = .;
} > REGION_WORK AT > REGION_WORK
bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin;