Merge pull request #338 from rlcamp/ltofix
Prevent LTO from omitting the ISR vector table
This commit is contained in:
commit
7812526590
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ extern uint32_t __bss_end__;
|
|||
extern uint32_t __StackTop;
|
||||
|
||||
/* Exception Table */
|
||||
__attribute__ ((used))
|
||||
__attribute__ ((section(".isr_vector"))) const DeviceVectors exception_table =
|
||||
{
|
||||
/* Configure Initial Stack Pointer, using linker-generated symbols */
|
||||
|
|
@ -407,6 +408,7 @@ extern uint32_t __bss_end__;
|
|||
extern uint32_t __StackTop;
|
||||
|
||||
/* Exception Table */
|
||||
__attribute__ ((used))
|
||||
__attribute__ ((section(".isr_vector"))) const DeviceVectors exception_table =
|
||||
{
|
||||
/* Configure Initial Stack Pointer, using linker-generated symbols */
|
||||
|
|
|
|||
Loading…
Reference in a new issue