summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-02-21 12:40:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-18 10:44:18 +0200
commit7bf072bbb88e913624c4609afa4f621d225889c3 (patch)
tree95819c9a1832981806d80a5c2bf426ba01ba5be3
parentlibtests/block05: Use rtems_blkdev_create() (diff)
downloadrtems-7bf072bbb88e913624c4609afa4f621d225889c3.tar.bz2
bsp/powerpc: Remove wildcards in linkcmds.base
This reverts commit 40c623a883da5dd80e4599cf4cd14097834706bd. 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.
-rw-r--r--bsps/powerpc/shared/start/linkcmds.base6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/powerpc/shared/start/linkcmds.base b/bsps/powerpc/shared/start/linkcmds.base
index e0dfdcc914..25a6414855 100644
--- a/bsps/powerpc/shared/start/linkcmds.base
+++ b/bsps/powerpc/shared/start/linkcmds.base
@@ -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;