This is the mail archive of the binutils@sourceware.org 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: The meaning of LMA and location counter in GNU ld


ali hagigat <hagigatali@gmail.com> writes:

> 3.6.8.2 Output Section LMA
> If there is no preceding output section or the section is
> not allocatable, the linker will set the LMA equal to the VMA.
> ----------------------------------------------
> What is the meaning of "the section is not allocatable" in the above
> sentence of ld manual?

In ELF, a section for which SHF_ALLOC is not set.  In general, a section
which is not loaded at runtime.  A typical example would be a section
containing debug information.

Ian


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