This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RVCT Linker

Note: This was originally posted on 12th June 2012 at http://forums.arm.com

Hi,
I have a doubt regarding the scatter loading in RVCT linker.
My concept is that the linker will generate code for copying the image executable code from Load region in ROM to execution region in RAM.
Can anyone tell me if this is correct?
Also where can i find details about this.
Parents
  • Note: This was originally posted on 14th June 2012 at http://forums.arm.com

    Thanks a lot for the info.
    Is there any document from ARM which explains this?


    Yes; the linker embeds the scatter loading code into the binary which will perform the necessary copy. It can also do clever things like decompressing data sections (so ROM storage is small, but the RAM image is correct) and unpacking sections (so they are stored in a compact form, but stored out at the right page offsets as needed in the scatter file).
Reply
  • Note: This was originally posted on 14th June 2012 at http://forums.arm.com

    Thanks a lot for the info.
    Is there any document from ARM which explains this?


    Yes; the linker embeds the scatter loading code into the binary which will perform the necessary copy. It can also do clever things like decompressing data sections (so ROM storage is small, but the RAM image is correct) and unpacking sections (so they are stored in a compact form, but stored out at the right page offsets as needed in the scatter file).
Children
No data