[skanduru@earth.siliconrock.com: VMA different from LMA]
Ian Lance Taylor
ian@wasabisystems.com
Thu Feb 5 04:04:00 GMT 2004
Srinivasa Kanduru <skanduru@linux.sadhanapath.com> writes:
> I assume the address specified in Memory block is LMA and the
> location counter address would be the VMA. Is that correct ?
No, it is not correct.
You can use a MEMORY block to set the LMA if you use AT>, not >. Read
the documentation I referred you to already:
http://sources.redhat.com/binutils/docs-2.12/ld.info/Output-Section-LMA.html#Output%20Section%20LMA
Ian
More information about the Binutils
mailing list