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 <zhiwei@synopsys.com>
This commit is contained in:
parent
f39c02c16c
commit
b64197fba6
1 changed files with 2 additions and 2 deletions
|
@ -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/ :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue