[rtems commit] powerpc/shared/startup/linkcmds.base: Add wildcards on some sections

Joel Sherrill joel at rtems.org
Mon Feb 19 19:12:13 UTC 2018


Module:    rtems
Branch:    master
Commit:    40c623a883da5dd80e4599cf4cd14097834706bd
Changeset: http://git.rtems.org/rtems/commit/?id=40c623a883da5dd80e4599cf4cd14097834706bd

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Sep 21 15:20:29 2017 -0500

powerpc/shared/startup/linkcmds.base: Add wildcards on some sections

Closes #3307.

---

 c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 2005917..90cfb9e 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/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 = .;
@@ -258,7 +258,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;



More information about the vc mailing list