The XC16 Compiler Populates the Interrupt Vector Table (IVT)
When I remove the interrupt vector table (IVT) from the linker script, MPLAB® XC16 C compiler still populates the vectors. Why is this?
In MPLAB XC16 v1.26 or later, the IVT is populated by the linker rather than the linker script. XC16 v1.30 or later has a —no-ivt option to tell the linker not to populate the IVT. This option can be added to the XC16 compiler options in the MPLAB X IDE 'Project Properties'.