lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] build system: section garbage collection - rename sections
Date
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




\
 
 \ /
  Last update: 2008-06-24 09:33    [W:0.095 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site