diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-20 08:45:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-20 08:46:13 +0200 |
commit | 25ccc19ae929b38fe42cd7350ba82af42e01d598 (patch) | |
tree | baf1c2c774b3882cc93b444f24225bf38784c30c /spec/build/bsps | |
parent | build: Add missing cxxflags (diff) | |
download | rtems-25ccc19ae929b38fe42cd7350ba82af42e01d598.tar.bz2 |
bsps/riscv: Sort .noinit* sections
Sort the .noinit* input sections by name first, then by alignment if two
sections have the same name. This allows the placement of begin/end symbols to
initialize some areas with a special value.
Update #4678.
Diffstat (limited to 'spec/build/bsps')
-rw-r--r-- | spec/build/bsps/riscv/linkcmdsbase.yml | 2 |
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; |