forked from Imagelibrary/rtems
@@ -295,6 +295,10 @@ SECTIONS {
|
||||
bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
|
||||
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} > RAM
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} > RAM
|
||||
|
||||
@@ -250,6 +250,10 @@ SECTIONS
|
||||
bss.size = bss.end - bss.start;
|
||||
sbss.size = sbss.end - sbss.start;
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} >RAM
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >RAM
|
||||
|
||||
@@ -93,6 +93,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)
|
||||
|
||||
@@ -289,6 +289,10 @@ SECTIONS
|
||||
|
||||
clear_end = .;
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} >ram
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >ram
|
||||
|
||||
@@ -133,6 +133,7 @@ static entry DATA config[] = {
|
||||
ENTRY_RW(bsp_section_sbss_begin, bsp_section_sbss_size),
|
||||
ENTRY_RW(bsp_section_bss_begin, bsp_section_bss_size),
|
||||
ENTRY_RW(bsp_section_rtemsstack_begin, bsp_section_rtemsstack_size),
|
||||
ENTRY_RW(bsp_section_noinit_begin, bsp_section_noinit_size),
|
||||
ENTRY_RW(bsp_section_stack_begin, bsp_section_stack_size),
|
||||
ENTRY_IO(bsp_section_nocache_begin, bsp_section_nocache_size),
|
||||
ENTRY_IO(bsp_section_nocachenoload_begin, bsp_section_nocachenoload_size),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -253,6 +253,9 @@ SECTIONS
|
||||
. = ALIGN(16);
|
||||
PROVIDE (__bss_end = .);
|
||||
} > CODE
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} > CODE
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >CODE
|
||||
|
||||
@@ -233,6 +233,10 @@ SECTIONS
|
||||
|
||||
PROVIDE(_end = bss.end);
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
}
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
}
|
||||
|
||||
@@ -252,6 +252,10 @@ SECTIONS
|
||||
. = ALIGN(0x10); /* Align to a cache-line boundary */
|
||||
PROVIDE(__bsp_ram_start = .);
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} >RAM
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >RAM
|
||||
|
||||
@@ -252,6 +252,10 @@ SECTIONS
|
||||
. = ALIGN(0x20); /* Align to a cache-line boundary */
|
||||
PROVIDE(__bsp_ram_start = .);
|
||||
|
||||
.noinit (NOLOAD) : {
|
||||
*(.noinit*)
|
||||
} >RAM
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >RAM
|
||||
|
||||
Reference in New Issue
Block a user