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]

objcopy, --change-section-lma ?


Hi,

to my understanding in a section header entry there are 10 values
of 32 bit each.  One reflects the VMA (SH_ADDR), but none reflects
the LMA.

I wondered how objcopy can change a sections LMA then and found out that
it changes one of the program headers.

I now wonder how it is ensured that this does not contradict to the
LMA of other sections?

Are other sections affected implicitly?

Or does objcopy add another program header if necessary?
  If it does that, how is a section linked to a program header?


It would be great if anybody could give me a hint on this.


Best regards,
Torsten.


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