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:
parent
47d30d087b
commit
506f15c381
22 changed files with 16 additions and 31 deletions
|
@ -88,9 +88,6 @@ SECTIONS {
|
|||
KEEP(*(".exc_vector_table.*"))
|
||||
KEEP(*(IRQ_VECTOR_TABLE))
|
||||
|
||||
#ifdef CONFIG_GEN_SW_ISR_TABLE
|
||||
KEEP(*(SW_ISR_TABLE))
|
||||
#endif
|
||||
*(.text)
|
||||
*(".text.*")
|
||||
*(.gnu.linkonce.t.*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue