SPRAC71B February 2019 – October 2023
All of the exception handling tables are stored in two sections. The EXIDX table is stored in a section called .C28x.exidx with type SHT_C28x_UNWIND. The linker must combine all the input .C28x.exidx sections into one contiguous .C28x.exidx output section, maintaining the same relative order as the code sections they refer to. In other words, the entries in the EXIDX table are sorted by address. Each EXIDX section in a relocatable file must have the SHF_LINK_ORDER flag set to indicate this requirement.
The EXTAB is stored in a section called .C28x.extab, with type SHT_PROGBITS. The EXTAB is not required to be contiguous and there is no ordering requirement.
Exception tables can be linked anywhere in memory.