lkml.org 
[lkml]   [2007]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] build system: section garbage collection for vmlinux
On Thu, Sep 06, 2007 at 11:59:41AM +0100, Denys Vlasenko wrote:
> On Wednesday 05 September 2007 21:07, Sam Ravnborg wrote:
> > On Wed, Sep 05, 2007 at 02:47:00PM +0100, Denys Vlasenko wrote:
> > > On Wednesday 05 September 2007 14:43, Denys Vlasenko wrote:
> > > > These patches fix section names and add
> > > > CONFIG_DISCARD_UNUSED_SECTIONS. It is not enabled
> > > > unconditionally because only newest binutils have
> > > > ld --gc-sections which is stable enough for kernel use.
> > > > IOW: this is an experimental feature for now.
> > >
> > > Part 1: fix section names over entire source (all arches).
> > >
> > > Patch is big and boring global s/.text.lock/.text_lock/
> > > type thing.
> >
> > The normal naming scheme seems to be:
> > .<usage>.text so in your example it would be: .lock.text
> > See the naming og init and exit sections (that was renamed
> > during 2.5 to be compatible with -ffunction-sections).
>
> Thanks, will do it that way. I plan to re-submit patches for inclusion
> into 2.6.24.
This should simmer in -mm for a few weeks at minimum before hitting
mainline. I would cosider it 2.6.25 material.
We could use the 2.6.23 timeframe to bring up all the linker
script file to a level where adding all the KEEP's are mostly done
in the generic vmlinux.h file.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-07 00:37    [W:0.071 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site