public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Torsten Mohr <tmohr@s.netic.de>
To: binutils@sourceware.org
Subject: objcopy, --change-section-lma ?
Date: Sat, 10 Jun 2006 20:25:00 -0000	[thread overview]
Message-ID: <200606101804.15002.tmohr@s.netic.de> (raw)

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.

             reply	other threads:[~2006-06-10 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-10 20:25 Torsten Mohr [this message]
2006-06-12 12:57 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606101804.15002.tmohr@s.netic.de \
    --to=tmohr@s.netic.de \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).