AnsweredAssumed Answered

Linker section .data from *.elf file is not loaded

Question asked by M. Botthof on Jun 12, 2017
Latest reply on Jun 21, 2017 by M. Botthof

I try to load a *.elf file into my target device (evaluation board "T42D4RDB" for QorIQ T1042). After the elf file is loaded, I find that the .data section has not been loaded into the RAM. The .text section has been loaded correctly.

My CRT0 function works so that it copies the .data section from behind the .text section to its correct position. Therefore, the .data section must be loaded from codewarrior when loading the elf file. Do you have a hint how to load the .data section by codewarrior?

Outcomes