This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS0714: Qquestion about map file

Part Number: TMS570LS0714

Hi Champ,

For below map file content, may I know the" veneer addr"  and" tramp addr" means?

  • Hello,

    The ARM branch instruction takes a 24-bit value to perform a PC relative jump to a specific address (+-32MB). A 24-bit value is not large enough to bridge the gap between the caller at an address in the flash to an address in SRAM. By trying to insert a branch which exceeds the 24-bits the Linker will automatically insert a so called trampoline function to perform the jump.

    Veneer serves as an alternate entry point into a routine if a state change is required. The TI ARM compiler supports (by default) full dual-state interworking. At link time, the linker determines whether to link in the additional code (veneer) that allows functions requiring state changes to call the function.

    Please refer to the user guide of ARM Optimizing C/C++ Compiler:

    http://www.ti.com/lit/ug/spnu151v/spnu151v.pdf?&ts=1589555012827