forked from Imagelibrary/rtems
bsps/powerpc: Add more BSP sections and sort them
This commit is contained in:
@@ -85,6 +85,7 @@ SECTIONS {
|
|||||||
|
|
||||||
.rodata : {
|
.rodata : {
|
||||||
bsp_section_rodata_begin = .;
|
bsp_section_rodata_begin = .;
|
||||||
|
*(SORT(.bsp_rodata*))
|
||||||
*(.rodata .rodata.* .gnu.linkonce.r.*)
|
*(.rodata .rodata.* .gnu.linkonce.r.*)
|
||||||
} > REGION_RODATA AT > REGION_RODATA_LOAD
|
} > REGION_RODATA AT > REGION_RODATA_LOAD
|
||||||
.rodata1 : {
|
.rodata1 : {
|
||||||
@@ -250,7 +251,7 @@ SECTIONS {
|
|||||||
|
|
||||||
.fast_data : {
|
.fast_data : {
|
||||||
bsp_section_fast_data_begin = .;
|
bsp_section_fast_data_begin = .;
|
||||||
*(.bsp_fast_data)
|
*(SORT(.bsp_fast_data*))
|
||||||
bsp_section_fast_data_end = .;
|
bsp_section_fast_data_end = .;
|
||||||
} > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
|
} > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
|
||||||
bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
|
bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
|
||||||
@@ -259,6 +260,7 @@ SECTIONS {
|
|||||||
|
|
||||||
.data : {
|
.data : {
|
||||||
bsp_section_data_begin = .;
|
bsp_section_data_begin = .;
|
||||||
|
*(SORT(.bsp_data*))
|
||||||
*(.data .data.* .gnu.linkonce.d.*)
|
*(.data .data.* .gnu.linkonce.d.*)
|
||||||
SORT(CONSTRUCTORS)
|
SORT(CONSTRUCTORS)
|
||||||
} > REGION_DATA AT > REGION_DATA_LOAD
|
} > REGION_DATA AT > REGION_DATA_LOAD
|
||||||
@@ -330,7 +332,7 @@ SECTIONS {
|
|||||||
|
|
||||||
.nocache : {
|
.nocache : {
|
||||||
bsp_section_nocache_begin = .;
|
bsp_section_nocache_begin = .;
|
||||||
*(.bsp_nocache)
|
*(SORT(.bsp_nocache*))
|
||||||
bsp_section_nocache_end = .;
|
bsp_section_nocache_end = .;
|
||||||
} > REGION_NOCACHE AT > REGION_NOCACHE_LOAD
|
} > REGION_NOCACHE AT > REGION_NOCACHE_LOAD
|
||||||
bsp_section_nocache_size = bsp_section_nocache_end - bsp_section_nocache_begin;
|
bsp_section_nocache_size = bsp_section_nocache_end - bsp_section_nocache_begin;
|
||||||
|
|||||||
Reference in New Issue
Block a user