From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Code relocation in U-boot.
Date: Mon, 07 Nov 2011 21:35:15 +0100 [thread overview]
Message-ID: <4EB84103.9000809@aribaud.net> (raw)
In-Reply-To: <CAP2F0fctTroW7R4U33JQCc+C37e7pV9ghqxPuPbQGbBin6sd_g@mail.gmail.com>
Le 07/11/2011 14:41, Sandeep Sharma a ?crit :
> Hi,
>
> I am analyzing U-Boot code for "relocate_code" function. In this function
> after copying the text section and before clearing the bss section we are
> doing "fix .rel.dyn relocations". I want to know that what actually we are
> doing in this section of code. What does this section actually contains and
> what kind of fix we are doing in this. What are relative and absolute fix
> that we are doing in this section.
>
> Any kind of help will we highly appreciated.
Hi Sandeep,
I assume you are specifically talking about ARM code in start.S? This
code is an implementation of the relocation mechanism defined in the ELF
specifications. Look up
<http://en.wikipedia.org/wiki/Executable_and_Linkable_Format#References>
for details.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-11-07 20:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 13:41 [U-Boot] Code relocation in U-boot Sandeep Sharma
2011-11-07 20:35 ` Albert ARIBAUD [this message]
2011-11-08 7:02 ` Sandeep Sharma
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=4EB84103.9000809@aribaud.net \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.