[PATCH v3 2/5] powerpc/shared/startup/linkcmds.base: Add wildcards on some sections

Joel Sherrill joel at rtems.org
Fri Feb 16 17:31:26 UTC 2018


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;
-- 
1.8.3.1




More information about the devel mailing list