From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations
Date: Fri, 4 Oct 2013 11:57:41 -0500 [thread overview]
Message-ID: <1380905861.7979.5.camel@snotra.buserror.net> (raw)
In-Reply-To: <158de34.68af.141843c611f.Coremail.fenghua@phytium.com.cn>
On Sat, 2013-10-05 at 00:10 +0800, FengHua wrote:
> > ARM64 uses the newer RELA-style relocations rather than the older REL.
> > RELA relocations have an addend in the relocation struct, rather than
> > expecting the loader to read a value from the location to be updated.
> >
> > While this is beneficial for ordinary program loading, it's problematic
>
> How it is beneficial than rel format?
It avoids the need to read anything other than the rela descriptor, and
thus makes relocation faster.
> Why aarch64-gcc use rela format only instead of supporting two format?
> these confuse me a few months.
It's probably specified by the ABI which type to use, and it's not worth
adding toolchain support for something different just for weird cases
like this.
-Scott
next prev parent reply other threads:[~2013-10-04 16:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-03 22:48 [U-Boot] [PATCH 0/4] arm64: rela relocation Scott Wood
2013-10-03 22:48 ` [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations Scott Wood
2013-10-04 16:10 ` FengHua
2013-10-04 16:57 ` Scott Wood [this message]
2013-10-05 7:52 ` Albert ARIBAUD
2013-10-08 0:55 ` Scott Wood
2013-10-08 8:10 ` Albert ARIBAUD
2013-10-08 16:22 ` Scott Wood
2013-10-09 9:04 ` Albert ARIBAUD
2013-10-08 14:22 ` FengHua
2013-10-08 15:06 ` Scott Wood
2013-10-03 22:48 ` [U-Boot] [PATCH 2/4] arm64: Turn u-boot.bin back into an ELF file after relocate-rela Scott Wood
2013-10-03 22:48 ` [U-Boot] [PATCH 3/4] arm64: Non-manual relocation Scott Wood
2013-10-04 16:13 ` FengHua
2013-10-04 16:55 ` Scott Wood
2013-10-03 22:48 ` [U-Boot] [PATCH 4/4] arm64: Make checkarmreloc accept arm64 relocations Scott Wood
2013-10-04 15:55 ` [U-Boot] [PATCH 0/4] arm64: rela relocation FengHua
2013-10-05 7:55 ` Albert ARIBAUD
2013-10-07 16:43 ` Scott Wood
2013-10-08 3:32 ` FengHua
2013-10-08 8:13 ` Albert ARIBAUD
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=1380905861.7979.5.camel@snotra.buserror.net \
--to=scottwood@freescale.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox