mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-04 08:37:49 +08:00
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.
This commit is contained in:
1 parent
329a1ccf93
commit
25ccc19ae9
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user