[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <loom.20080624T072614-586@post.gmane.org>
Date: Tue, 24 Jun 2008 07:29:50 +0000 (UTC)
From: Matthieu CASTET <matthieu.castet@...rot.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] build system: section garbage collection - rename sections
Hi,
Denys Vlasenko <vda.linux <at> googlemail.com> writes:
>
> On Saturday 24 November 2007 15:14, Denys Vlasenko wrote:
> > 1.fixname:
> > Rename all special sections with names like .text.xxxx, .data.xxxx and
> > .rodata.xxxx to .xxxx.text/data/rodata. This makes it possible to
> > not mix up these sections with gcc-generated ones
> > when gcc -ffunction-sections -fdata-sections is used.
> > .bss.xxxx cannot be treated this way, because for section names
> > linke .xxxx.bss gcc won't create section with correct attribute.
> > Thus .bss.xxxxx sections are renamed .bss.k.xxxxx.
>
> Signed-off-by: Denys Vlasenko <vda.linux <at> googlemail.com>
Why not rename all the section to .type.k.xxxxx ?
This will be more consistent between bss and other section. Also I find it
cleaner to have the section type first.
Matthieu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists