From 40c623a883da5dd80e4599cf4cd14097834706bd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Sep 2017 15:20:29 -0500 Subject: [PATCH] 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 200591722f..90cfb9eba9 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;