10.8.2 Vector-Offset Initialization Module

The vector-offset initialization module (vector_offset_init.o) uses the __vector_offset_n symbols defined in the default linker script. The value of each symbol is the offset of the vector’s address from the ebase register’s address. The vector-offset initialization module, uses the symbol value to create a .data section using the address of the corresponding OFFxxx special function register. This means that the standard linker-generated data-initialization template contains the values used to initialize the OFFxxx registers.

  .section 
.data.__vector_offset_BF810540,data,keep,address(0xBF810540)
  .word __vector_offset_0
  .word __vector_offset_1
  .word __vector_offset_2
  .word __vector_offset_3
  .word __vector_offset_4
  .word __vector_offset_5
  .word __vector_offset_6