HI
I use the codewarrior to compile program. and a error is confused. 'Error:L1122: only checksum section may be behind .copy in the section list'. what cause this?
Solved! Go to Solution.
Hi Chen
From the error message, there is a section(not checksum) linked behind .copy section.
L1122: Section .copy must be the last section in the section list Move the section .copy
to the last position in the section list or define it on a separate PLACEMENT
line in a separate segment. Please note that .copy is also a synonym for COPY
(e.g. used in HIWARE object file format PRM
files).
for example, this example will cause error. because .copy is not the last section
This is the correction: move .copy to the last section.
Can this help you solve the problem? if not, please upload your demo project here, thus I can work on the error directly.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Chen
From the error message, there is a section(not checksum) linked behind .copy section.
L1122: Section .copy must be the last section in the section list Move the section .copy
to the last position in the section list or define it on a separate PLACEMENT
line in a separate segment. Please note that .copy is also a synonym for COPY
(e.g. used in HIWARE object file format PRM
files).
for example, this example will cause error. because .copy is not the last section
This is the correction: move .copy to the last section.
Can this help you solve the problem? if not, please upload your demo project here, thus I can work on the error directly.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------