bsps: Support RTEMS_NOINIT in linkcmds

Update #3866.
This commit is contained in:
Sebastian Huber
2021-04-30 15:47:10 +02:00
parent a84bf966b5
commit e10dec0fe7
62 changed files with 256 additions and 1 deletions

View File

@@ -343,6 +343,13 @@ SECTIONS {
} > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
.noinit (NOLOAD) : ALIGN_WITH_INPUT {
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 : ALIGN_WITH_INPUT {
/*
* The work section will occupy the remaining REGION_WORK region and