mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-05 12:28:45 +00:00
[fix][startup] fix __Vectors section
This commit is contained in:
parent
7e1e3a0927
commit
fcf07aa3a9
8 changed files with 8 additions and 4 deletions
|
@ -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, /* */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue