This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [skanduru@earth.siliconrock.com: VMA different from LMA]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]