Skip to content

Commit

Permalink
linker: fix shared interrupts for MWDT toolchain
Browse files Browse the repository at this point in the history
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 for all
toolchain.

Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Evgeniy Paltsev <[email protected]>
  • Loading branch information
evgeniy-paltsev committed Jul 9, 2024
1 parent 964ffc3 commit 98617f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
SECTION_PROLOGUE(.text.z_shared_isr,,)
{
KEEP(*(.text.z_shared_isr))
KEEP(*(.text.z_shared_isr*))
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
#endif

Expand Down

0 comments on commit 98617f8

Please sign in to comment.