9.2.17 --ivt

The linker is instructed to generate an Interrupt Vector Table (IVT) unless one is explicitly created in the linker script or by other means.

To create an IVT at a specific address (a relocatable/remappable IVT), use either:

  • --ivt ADDR - Create IVT at address ADDR
  • --ivt NUM:ADDR - Create numbered IVT at address ADDR

For example:

xc32-gcc foo.c -o foo.exe -Wl,--ivt=2:0x802000

To create a compressed IVT at a specific address, use one of the following options:

  • --civt - Create compressed IVT at the default location
  • --civt ADDR - Create compressed IVT at address ADDR
  • --civt NUM:ADDR - Create numbered, compressed IVT at address ADDR