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.

Compiler/TMS320C6674: Data sections with different load and run addresses

Part Number: TMS320C6674

Tool/software: TI C/C++ Compiler

Hello,

I have a question regarding data sections with different load and run addresses. I am using EABI with CGT versions 7.4.6 and 8.2.1.

  1. Can the linker compress a data section (or specify that any handler be run on it, like __TI_zero_init) if the data section has different load and run addresses? Personally, I have not seen it compress a data section with different load and run addresses (and I think it is simpler that way).
  2. But if such a data section can be compressed, does the handler decompress the data into the load address or the run address? I'd hope that it would be decompressed (or zero-initialized) into the load address, so that I could simply copy the whole chunk of initialized data from the load address to the run address in my application.

Thanks in advance!

Best regards,
Dave