Greetings,
I just discovered an issue in one of our cmd files where a DATA_SECTION item was given an address instead of a range specifier. The linker produced the correct code, but gave no error or warning. Is this to be expected?
Thank you,
Ed
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.
Greetings,
I just discovered an issue in one of our cmd files where a DATA_SECTION item was given an address instead of a range specifier. The linker produced the correct code, but gave no error or warning. Is this to be expected?
Thank you,
Ed
Please read the first part of the article Linker Command File Primer. Focus on the sub-section titled Allocate Output Sections to Memory.
Thanks and regards,
-George