This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
The meaning of LMA and location counter in GNU ld
- From: ali hagigat <hagigatali at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 24 Jan 2011 18:35:56 +0330
- Subject: The meaning of LMA and location counter in GNU ld
What is the real meaning of LMA? is it a physical address?
When we assign some numbers to the location counter, what these
numbers mean? Are they physical addresses? or virtual addresses? or
they are just local addresses for ld?
When we use some addresses in a linker command file, are they final
physical addresses? or they show a range of 4 GB virtual addresses for
a 32 bit Intel machine?