bsp/powerpc: Remove wildcards in linkcmds.base

This reverts commit 40c623a883.

The use of postfix wildcards, e.g. of the form "*.x" is dangerous since
it circumvents the standard matching rules for sections.

Unknown input sections should be added explicitly to the desired output
section via "x.*" wildcards.

Update #3307.
This commit is contained in:
Sebastian Huber
2018-02-21 12:40:40 +01:00
parent 70502b480a
commit 7bf072bbb8

View File

@@ -100,10 +100,10 @@ SECTIONS {
*(.eh_frame_hdr)
} > REGION_RODATA AT > REGION_RODATA_LOAD
.eh_frame : ALIGN_WITH_INPUT {
KEEP (*(*.eh_frame))
KEEP (*(.eh_frame))
} > REGION_RODATA AT > REGION_RODATA_LOAD
.gcc_except_table : ALIGN_WITH_INPUT {
*(.gcc_except_table *.gcc_except_table.*)
*(.gcc_except_table .gcc_except_table.*)
} > REGION_RODATA AT > REGION_RODATA_LOAD
.tdata : ALIGN_WITH_INPUT {
_TLS_Data_begin = .;
@@ -260,7 +260,7 @@ SECTIONS {
*(set_domain_*);
*(set_pseudo_*);
KEEP (*(SORT(*.rtemsroset.*)))
KEEP (*(SORT(.rtemsroset.*)))
bsp_section_rodata_end = .;
} > REGION_RODATA AT > REGION_RODATA_LOAD
bsp_section_rodata_size = bsp_section_rodata_end - bsp_section_rodata_begin;