Table of Contents Previous topic Next topic
C/C++ COMPILER->Compiler command line options->Generate Relocatable Vectors (/Vr)
By default, when automatically coding an interrupt vector, the compiler will generate this code in an absolute code section.
The /Vr command line option tells the compiler to generate the code in a relocatable code section instead.
It is up to the developer to position this relocatable code section, typically using an entry in the linker script. The relocatable section names used are as follows:
Interrupt | Relocatable section name |
Undefined interrupt | __undefined_vector |
Software interrupt | __software_vector |
Prefetch abort interrupt | __prefetch_abort_vector |
Data abort interrupt | __data_abort_vector |
IRQ interrupt | __irq_vector |
FIQ interrupt | __fiq_vector |