lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromMatthieu CASTET <>
SubjectRe: [PATCH 1/3] build system: section garbage collection - rename sections
DateTue, 24 Jun 2008 07:29:50 +0000 (UTC)
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    [from the cache]
©2003-2008