bsps/riscv: Support RTEMS_NOINIT in linkcmds

Update #3866.
This commit is contained in:
Sebastian Huber
2021-05-03 14:04:53 +02:00
parent 5b97821bc8
commit eb7c33add0

View File

@@ -317,6 +317,13 @@ content: |
} > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
.noinit (NOLOAD) : ${LINKCMDS_ALIGN_DIRECTIVE} {
bsp_section_noinit_begin = .;
*(.noinit*)
bsp_section_noinit_end = .;
} > REGION_WORK AT > REGION_WORK
bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin;
.work (NOLOAD) : ${LINKCMDS_ALIGN_DIRECTIVE} {
/*
* The work section will occupy the remaining REGION_WORK region and