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:01:43 +0200 [thread overview]
Message-ID: <4CA2D647.5050806@free.fr> (raw)
In-Reply-To: <AANLkTimnuXazad2zjA3+MMHU+VvxyR=CnwppncbPOtnk@mail.gmail.com>
Le 28/09/2010 15:39, Ben Gardiner a ?crit :
> On Tue, Sep 28, 2010 at 9:14 AM, Albert Aribaud<albert.aribaud@free.fr> 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>
>
> Applies cleanly to 3df61957938586c512c17e72d83551d190400981 of u-boot/next.
>
> Tested on da850evm -- u-boot prompt is obtained and bootm of linux
> uImage is possible with the fix for bootparam address on the da850evm.
>
> Tested-by: Ben Gardiner<bengardiner@nanometrics.ca>
Thanks Ben.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2010-09-29 6:01 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 [this message]
2010-09-28 13:57 ` Heiko Schocher
2010-09-29 6:04 ` Albert ARIBAUD
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=4CA2D647.5050806@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 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.