From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base
Date: Wed, 29 Sep 2010 08:04:00 +0200 [thread overview]
Message-ID: <4CA2D6D0.1080406@free.fr> (raw)
In-Reply-To: <4CA1F430.50900@denx.de>
Le 28/09/2010 15:57, Heiko Schocher a ?crit :
> Hello Albert,
>
> Albert Aribaud wrote:
>> Add -msingle-pic-base to the relocation flags, and compute the pic base
>> in start.S twice and for all -- once before relocation to run board_init_f,
>> and once after relocation to run board_init_r and the rest of u-boot.
>> This further reduces code size by 2.5% compared to -fPIE alone.
>>
>> Signed-off-by: Albert Aribaud<albert.aribaud@free.fr>
>
> Tested on the tx25 board.
>
> Tested-by: Heiko Schocher<hs@denx.de>
Thanks Heiko.
BTW, I forgot to mention that patch 2/2 of this set, being partly
written by Heiko for the tx25 part, is
Signed-off-by: Heiko Schocher<hs@denx.de>
> bye,
> Heiko
Amicalement,
--
Albert.
next prev parent reply other threads:[~2010-09-29 6:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 13:14 [U-Boot] [PATCH V3 1/2] [NEXT] arm: change relocation flag from -fPIC to -fPIE Albert Aribaud
2010-09-28 13:14 ` [U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base Albert Aribaud
2010-09-28 13:39 ` Ben Gardiner
2010-09-29 6:01 ` Albert ARIBAUD
2010-09-28 13:57 ` Heiko Schocher
2010-09-29 6:04 ` Albert ARIBAUD [this message]
2010-09-29 6:50 ` Wolfgang Denk
2010-09-29 7:38 ` Albert ARIBAUD
2010-09-29 8:55 ` Wolfgang Denk
2010-10-01 4:52 ` Albert ARIBAUD
2010-10-01 7:07 ` Prafulla Wadaskar
2010-09-28 13:38 ` [U-Boot] [PATCH V3 1/2] [NEXT] arm: change relocation flag from -fPIC to -fPIE Ben Gardiner
2010-09-28 13:57 ` Heiko Schocher
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=4CA2D6D0.1080406@free.fr \
--to=albert.aribaud@free.fr \
--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