interrupts: simplify position of sw ISR table

We now place the linker directives for the SW ISR table
in the common linker scripts, instead of repeating it
everywhere.

The table will be placed in RAM if dynamic interrupts are
enabled.

A dedicated section is used, as this data must not move
in between build phases.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2018-11-08 14:44:31 -08:00 committed by Anas Nashif
commit 506f15c381
22 changed files with 16 additions and 31 deletions

View file

@ -169,7 +169,6 @@ SECTIONS
*(.gnu.linkonce.s2.*)
KEEP(*(.jcr))
*(.dram1 .dram1.*)
KEEP(*(SW_ISR_TABLE))
_data_end = ABSOLUTE(.);
. = ALIGN(4);
} GROUP_LINK_IN(RAMABLE_REGION)