SPRUIG8J January 2018 – March 2024
The compressed load data has the following layout:
-bit index | Compressed data |
The first bits of the load data are the handler index. This handler index is used to index into a handler table to get the address of a handler function that knows how to decode the data that follows. The handler table is a list of 48-bit function pointers as shown in Figure 12-5.
The linker creates a separate output section for the load and run space. For example, if .task1.load is compressed using RLE, the handler index points to an entry in the handler table that has the address of the run-time-support routine __TI_decompress_rle().