arch: isr_tables: Add __used attribute to int_list_header
This commit adds missing __used attribute it int_list_header, preventing it from being optimized out. Signed-off-by: Radosław Koppel <radoslaw.koppel@nordicsemi.no>
This commit is contained in:
parent
84e883b611
commit
717c5835d6
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ struct int_list_header {
|
|||
* header of the initList section, which is used by gen_isr_tables.py to create
|
||||
* the vector and sw isr tables,
|
||||
*/
|
||||
Z_GENERIC_SECTION(.irq_info) struct int_list_header _iheader = {
|
||||
Z_GENERIC_SECTION(.irq_info) __used struct int_list_header _iheader = {
|
||||
.table_size = IRQ_TABLE_SIZE,
|
||||
.offset = CONFIG_GEN_IRQ_START_VECTOR,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue