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.

Virtual Address & Load Address

Hi,

In the linker command file, how to specify Virtula Memory Address & Load Memory Address for a .data section?

For ROM bootloader, .data section needs to stored in ROM memory & at run-time needs to mapped into RAM memory.

I can write a memcpy code to copy the .data section into RAM, i need support only on the linker command file.

Regards

Vinoth