On Sun, 14 Oct 2007, Franck Bui-Huu wrote: > > I guess for a bss-type section you want to use something like: > > > > .section .init.bss,"aw",@nobits > > > > Sorry but I'm missing your point here. This indeed should be added > for assembler code but I don't see how it's related with the kernel > image size difference I was seeing. Well, otherwise the section is marked as containing data and therefore taking space in the image. Compare the output of `readelf -S' and/or `objdump -h' with and without the directive above. What do you mean by "assembler code" in this context, BTW? Everything is assembler code, be it handwritten or GCC-generated. Have a look at how GCC sets flags for your section, by running `gcc -S' and examining the output. Maciej