forked from Imagelibrary/rtems
@@ -63,6 +63,10 @@ LINKER_SYMBOL(bsp_section_rtemsstack_begin)
|
||||
LINKER_SYMBOL(bsp_section_rtemsstack_end)
|
||||
LINKER_SYMBOL(bsp_section_rtemsstack_size)
|
||||
|
||||
LINKER_SYMBOL(bsp_section_noinit_begin)
|
||||
LINKER_SYMBOL(bsp_section_noinit_end)
|
||||
LINKER_SYMBOL(bsp_section_noinit_size)
|
||||
|
||||
LINKER_SYMBOL(bsp_section_work_begin)
|
||||
LINKER_SYMBOL(bsp_section_work_end)
|
||||
LINKER_SYMBOL(bsp_section_work_size)
|
||||
|
||||
@@ -314,6 +314,13 @@ SECTIONS {
|
||||
} > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
|
||||
bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
|
||||
|
||||
.noinit (NOLOAD) : @RISCV_LINKER_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) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
|
||||
/*
|
||||
* The work section will occupy the remaining REGION_WORK region and
|
||||
|
||||
Reference in New Issue
Block a user