interrupts: use weak linkage instead of linkonce
.gnu.linkonce is an internal undocumented ld feature. Just use __weak, which does the same thing we want. This is only done for _sw_isr_table. _irq_vector_table is left alone due to unwanted interactions between __weak and the ld KEEP() directive. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
506f15c381
commit
140863f6a7
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
/* Interrupts */
|
||||
#define IRQ_VECTOR_TABLE .gnu.linkonce.irq_vector_table
|
||||
#define SW_ISR_TABLE .gnu.linkonce.sw_isr_table
|
||||
#define SW_ISR_TABLE .sw_isr_table
|
||||
|
||||
/* Architecture-specific sections */
|
||||
#if defined(CONFIG_ARM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue