Zheng Da
2006-08-01 12:54:09 UTC
In the ld manual, there are their definitions
VMA, or virtual memory address. This is the address the section will
have when
the output file is run.
LMA, or load memory address. This is the address at which the section
will be
loaded.
But I cannot see the difference.
And the OVERLAY command in ld can make the section have the same vma
but different lma.
Why? I am quite confused.
Does anybody explain the difference to me?
Thank you.
VMA, or virtual memory address. This is the address the section will
have when
the output file is run.
LMA, or load memory address. This is the address at which the section
will be
loaded.
But I cannot see the difference.
And the OVERLAY command in ld can make the section have the same vma
but different lma.
Why? I am quite confused.
Does anybody explain the difference to me?
Thank you.