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

Linker warning

Note: This was originally posted on 22nd October 2010 at http://forums.arm.com

Hey all,


While linking my object files using armlink, I get the following warnings :-

Warning: L6221E: Execution region Region_3 with Execution range [0x0002c974,0x0002cc4c) overlaps with Execution region Region_6 with Load range [0x0002c978,0x00004304).
Warning: L6221E: Execution region Region_6 with Execution range [0x0002cc4c,0x00030f50) overlaps with Execution region Region_7 with Load range [0x00030c7c,0x00000664).
Warning: L6221E: Execution region Region_7 with Execution range [0x00030f50,0x000315b4) overlaps with Execution region Region_8 with Load range [0x000312e0,0x00000160).
Warning: L6221E: Execution region Region_7 with Execution range [0x00030f50,0x000315b4) overlaps with Execution region Region_9 with Load range [0x00031440,0x000089a0).



I am using a scatter file defined as followes:-

LOAD_REGION 0x00000000
{
Region_1 0x00000000 ABSOLUTE
{
  .......
}

Region_2 +0
{
  .......
}

Region_3 +0
{
  .......
}

Region_4 +0
{
  .......
}

Region_5 +0
{
  .......
}

Region_6 +0
{
  .......
}

Region_7 +0
{
  .......
}

Region_8 +0
{
  .......
}

Region_9 +0
{
  .......
}
}



Kindly guide me as to where I am going wrong.

Thanks and Regards
Abhinav Varma
Parents
  • Note: This was originally posted on 25th October 2010 at http://forums.arm.com

    Do some of Region_1 .. Region_8 have ZI sections?  These won't take up load region space and could cause the later load regions to "shift up".  Possibly RW compression could do the same.  Maybe you can move all of you ZI to the last region and all of your RW to the last or next-to-last?
Reply
  • Note: This was originally posted on 25th October 2010 at http://forums.arm.com

    Do some of Region_1 .. Region_8 have ZI sections?  These won't take up load region space and could cause the later load regions to "shift up".  Possibly RW compression could do the same.  Maybe you can move all of you ZI to the last region and all of your RW to the last or next-to-last?
Children
No data