Quick Links
Conversion of GNU LD script to ARMLINK scatter file
#1
Posted 26 August 2010 - 10:49 AM
As part of my exercise to migrate code from Codesourcery to RVCT 4.0, I need to convert a codesourcery compatible ld script to armlink compatible scatter file. Can someone guide me through it or any tutorial on the topic would be very helpful.
Thanks and Regards
Abhinav Varma
#2
Posted 27 August 2010 - 05:10 AM
I started conversion of my LD script to an armlink scatter file. But I am really not able to specify my symbols (which were present in the LD script; _etext for example). Another thing I wanted to know is how do we specify the output sections in the scatter file. I noticed that we can specify the output regions but there is no mention of output sections. If it is not needed, then which output regions should I place my .text , .data and .bss sections? The last query is that do scatter files have an equivalen symbol to "." ie the location counter found in LD scripts.
#3
Posted 27 August 2010 - 07:25 AM
D3M0N, on Aug 26 2010, 11:49 AM, said:
Maybe you want to try the GNU ld script support in armlink 4.1 <http://infocenter.arm.com/help/topic/com.a...a/BABEGCID.html>?
#4
Posted 27 August 2010 - 08:13 AM
scott, on Aug 27 2010, 07:25 AM, said:
Thanks for the information, but I wanted to know how to carry out the task in RVCT 4.0 (armlink 4.0).
Thanks and Regards
Abhinav Varma














