Messages in this thread |  | | | From | Matthieu CASTET <> | | Subject | Re: [PATCH 1/3] build system: section garbage collection - rename sections | | Date | Tue, 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
|  |