[fix][startup] fix __Vectors section
This commit is contained in:
parent
7e1e3a0927
commit
fcf07aa3a9
@ -38,6 +38,7 @@ SECTIONS
|
||||
__text_code_start__ = .;
|
||||
|
||||
KEEP (*(SORT_NONE(.init)))
|
||||
KEEP (*(SORT_NONE(.vector)))
|
||||
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
|
@ -38,6 +38,7 @@ SECTIONS
|
||||
__text_code_start__ = .;
|
||||
|
||||
KEEP (*(SORT_NONE(.init)))
|
||||
KEEP (*(SORT_NONE(.vector)))
|
||||
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
|
@ -38,6 +38,7 @@ SECTIONS
|
||||
__text_code_start__ = .;
|
||||
|
||||
KEEP (*(SORT_NONE(.init)))
|
||||
KEEP (*(SORT_NONE(.vector)))
|
||||
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
|
@ -39,6 +39,7 @@ SECTIONS
|
||||
__text_code_start__ = .;
|
||||
|
||||
KEEP (*(SORT_NONE(.init)))
|
||||
KEEP (*(SORT_NONE(.vector)))
|
||||
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
|
@ -29,7 +29,7 @@ struct bflb_irq_info_s g_irqvector[CONFIG_IRQ_NUM];
|
||||
extern void default_trap_handler(void);
|
||||
extern void default_interrupt_handler(void);
|
||||
|
||||
const pFunc __Vectors[] __attribute__((section(".init"), aligned(64))) = {
|
||||
const pFunc __Vectors[] __attribute__((section(".vector"), aligned(64))) = {
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
|
@ -31,7 +31,7 @@ struct bflb_irq_info_s g_irqvector[CONFIG_IRQ_NUM];
|
||||
extern void default_trap_handler(void);
|
||||
extern void default_interrupt_handler(void);
|
||||
|
||||
const pFunc __Vectors[] __attribute__((section(".init"), aligned(64))) = {
|
||||
const pFunc __Vectors[] __attribute__((section(".vector"), aligned(64))) = {
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
|
@ -29,7 +29,7 @@ struct bflb_irq_info_s g_irqvector[CONFIG_IRQ_NUM];
|
||||
extern void default_trap_handler(void);
|
||||
extern void default_interrupt_handler(void);
|
||||
|
||||
const pFunc __Vectors[] __attribute__((section(".init"), aligned(64))) = {
|
||||
const pFunc __Vectors[] __attribute__((section(".vector"), aligned(64))) = {
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
|
@ -31,7 +31,7 @@ struct bflb_irq_info_s g_irqvector[CONFIG_IRQ_NUM];
|
||||
extern void default_trap_handler(void);
|
||||
extern void default_interrupt_handler(void);
|
||||
|
||||
const pFunc __Vectors[] __attribute__((section(".init"), aligned(64))) = {
|
||||
const pFunc __Vectors[] __attribute__((section(".vector"), aligned(64))) = {
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
default_interrupt_handler, /* */
|
||||
|
Reference in New Issue
Block a user