From b64197fba653b76ad4d14afbfdce6d1bfcf724a4 Mon Sep 17 00:00:00 2001 From: Watson Zeng Date: Fri, 19 Mar 2021 14:23:02 +0800 Subject: [PATCH] linker: tweak section naming to feet all linkers MWDT toolchain adds additional suffix to sections name in case of ffunction-sections / fdata-sections are enabled. Let's pick a single set of rules and syntax that work. Signed-off-by: Watson Zeng --- include/linker/intlist.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linker/intlist.ld b/include/linker/intlist.ld index b99b7638a01..9cad6f32c32 100644 --- a/include/linker/intlist.ld +++ b/include/linker/intlist.ld @@ -34,8 +34,8 @@ #ifndef LINKER_ZEPHYR_FINAL SECTION_PROLOGUE(.intList,,) { - KEEP(*(.irq_info)) - KEEP(*(.intList)) + KEEP(*(.irq_info*)) + KEEP(*(.intList*)) } GROUP_ROM_LINK_IN(IDT_LIST, IDT_LIST) #else /DISCARD/ :