public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add gc-section support for ARM
Date: Tue, 15 May 2012 09:01:27 +0200	[thread overview]
Message-ID: <4FB1FF47.3060400@aribaud.net> (raw)
In-Reply-To: <201205150112.06666.vapier@gentoo.org>

Le 15/05/2012 07:12, Mike Frysinger a ?crit :
> On Monday 14 May 2012 17:01:30 Charles Manning wrote:
>> On Monday 14 May 2012 17:15:50 Mike Frysinger wrote:
>>> On Wednesday 02 May 2012 21:37:51 Charles Manning wrote:
>>>> Seems odd that this hasn't been done yet.
>>>> Shaves 5k off an omap overo build.
>>>
>>> my understanding is that it doesn't work for some
>>
>> It won't work for people that don't set up their lds properly.
>
> current u-boot policy is to not introduce changes that knowingly break other
> platforms.  so if you want to update the common arm config.mk, you need to at
> least compile test all arm boards.

... and considering this is dependent on toolchain setups, this should 
also be performed for the most common toolchains versions around (ELDK 
4.2 and 5.x; CS 2011, 2010, maybe even 2009; Linaro; LLVM even).

>>>> +PLATFORM_RELFLAGS += -ffunction-sections
>>>
>>> where's the -fdata-sections ?
>>
>> I tried that once before and could not get that to work with u-boot. I
>> figure doing just the function sections is better than nothing.
>
> so even your lds isn't setup properly ? :P
>
> other arches are using both fine, so it isn't a problem of common code.
> -mike

Amicalement,
-- 
Albert.

  reply	other threads:[~2012-05-15  7:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03  1:37 [U-Boot] [PATCH] Add gc-section support for ARM Charles Manning
2012-05-14  5:15 ` Mike Frysinger
2012-05-14 21:01   ` Charles Manning
2012-05-15  5:12     ` Mike Frysinger
2012-05-15  7:01       ` Albert ARIBAUD [this message]
2012-05-15 22:07       ` Charles Manning
2012-05-15 22:25         ` Wolfgang Denk
2012-05-15 22:45           ` Charles Manning
2012-05-17 18:53             ` Tom Rini
2012-05-29 21:03     ` Wolfgang Denk

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=4FB1FF47.3060400@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox