bsps: Fix some linker set descriptions

Fix broken RTEMS linker set descriptions introduced by
b618d8cfc5.
This commit is contained in:
Sebastian Huber
2015-12-09 14:03:09 +01:00
parent 05d09f44fc
commit 44d18b9e64
7 changed files with 10 additions and 7 deletions

View File

@@ -52,7 +52,8 @@ SECTIONS
*(.plt)
KEEP (*(.init))
KEEP (*(.fini))
*(.rodata .rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r.*)
*(.rodata .rodata.* .gnu.linkonce.r.*)
KEEP (*(SORT(.rtemsroset.*)))
*(.rodata1)
*(.eh_frame_hdr)
KEEP (*(.eh_frame))

View File

@@ -78,7 +78,7 @@ SECTIONS
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
.rodata : { *(.rodata .rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r.*) }
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) KEEP (*(SORT(.rtemsroset.*))) }
.rodata1 : { *(.rodata1) }
.tdata : {
_TLS_Data_begin = .;

View File

@@ -193,8 +193,9 @@ SECTIONS
{
PROVIDE (__ram_rodata_start = ABSOLUTE(.));
. = ALIGN(32 / 8);
*(.rodata .rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r.*)
*(.rodata .rodata.* .gnu.linkonce.r.*)
*(.rodata1)
KEEP (*(SORT(.rtemsroset.*)))
} > onchip_memory_0
.tdata : {

View File

@@ -95,8 +95,9 @@ SECTIONS
.rodata :
{
*(.rodata .rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r.*)
*(.rodata .rodata.* .gnu.linkonce.r.*)
*(.rodata1)
KEEP (*(SORT(.rtemsroset.*)))
. = ALIGN (bsp_section_align);
__rodata_end = .;
} >ROM =0

View File

@@ -91,7 +91,7 @@ SECTIONS
} > RAM
/* Miscellaneous read-only data */
.rodata : { *(.rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r*) } > RAM
.rodata : { *(.rodata.* .gnu.linkonce.r*) KEEP (*(SORT(.rtemsroset.*))) } > RAM
.rodata1 : { *(.rodata1) } > RAM
.tdata : {

View File

@@ -91,7 +91,7 @@ SECTIONS
} > RAM
/* Miscellaneous read-only data */
.rodata : { *(.rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r*) } > RAM
.rodata : { *(.rodata.* .gnu.linkonce.r*) KEEP (*(SORT(.rtemsroset.*))) } > RAM
.rodata1 : { *(.rodata1) } > RAM
.tdata : {

View File

@@ -89,7 +89,7 @@ SECTIONS
*(.call_table_text)
}
.fini : { KEEP (*(.fini)) } =0
.rodata : { *(.rodata .rodata.* KEEP (*(SORT(.rtemsroset.*))) .gnu.linkonce.r.*) }
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) KEEP (*(SORT(.rtemsroset.*))) }
.rodata1 : { *(.rodata1) }
.tdata : {
__TLS_Data_begin = .;