Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Linker Command

$
0
0

Hello,

                I have a problem with the linker command file for C6746 using CCS5.6. The output file generate several sections which I do not have a problem to assign a load address in the form:

SECTIONS

{

.text:         {

                           _textRun = .;

                           *(.text)

                           _textSize = . - _textRun;

                           } load = flash_loader, run = DDR, table(BINIT)

}

However I have a problem to do the same with section  .fardata.1 and .fardata.2. the linker does not recognize the section fardata.1 or fardata.2 . When I use fardata without any extension, the linker combine both data sections  into one with different run time memory location and generate errors indicate that the new location is far to reach. I could not find any documentation to explain how to handle the data that are generated for two different pages.  Thanks.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>