Re: [PATCH] blackfin: Cleanup linker script using new linker script macros.
From: Tim Abbott
Date: Tue Sep 22 2009 - 11:32:01 EST
On Wed, 16 Sep 2009, Mike Frysinger wrote:
> On Wed, Sep 16, 2009 at 16:26, Sam Ravnborg wrote:
> > On Wed, Sep 16, 2009 at 11:58:01AM -0400, Tim Abbott wrote:
> >> OK. I guess we should plan to modify the INIT_DATA_SECTION macro to add
> >> another argument specifying an alignment level for .init.ramfs. It'd be
> >> inconvenient to add that right now since there are a lot of patches in
> >> linux-next or otherwise in flight that introduce uses of
> >> INIT_DATA_SECTION, and those patches would all be broken by changing this
> >> now. Once the dust settles on that for this release, I'll submit a patch
> >> adding said argument to INIT_DATA_SECTION.
> >
> > But this is all discarded during runtime so the added alignment has no cost in the end - no?
>
> once things are booted, there should be no difference. but
> storage/boot costs increase (you have to store/extract/copy that extra
> data). you know how miserly we embedded people like to be ;).
OK, so how do you want to do this? The options I see are:
(1) we merge this patch now, and add the new alignment argument for -rc2
(2) we add the alignment argument sometime after -rc1 and then merge this
for -rc2
-Tim Abbott