Hi Konrad,

+  data   (rw!x) : ORIGIN = 0x802000, LENGTH = 0x10000

The fixed origin seems very dubious to me and I wasn't able to debug 
__DATA_REGION_LENGTH__.

It is defined earlier on in script:

[cut]

I actually meant to ask: is there a way to debug the linker script? I.e. to 
output what real values are used and where they come from?

Absolutely.  Just run the linker with the --verbose command line option.
That will output the linker's internal script with values filled in.

Make sure to include any other command line options you would normally
use as the internal script varies based upon the presence of certain options.


Cheers
  Nick


Reply via email to