Re: [RFC] Add __initbss section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 15 Oct 2007, Franck Bui-Huu wrote:

> Well, since .init.bss is declared as follow:
> 
> 	.init.bss (NOLOAD) : {
> 		...
> 	}
> 
> data should not take any space in the image...

 The above only marks it as unloadable (cf. e.g. debugging information).  
It is still there.

> I meant to be able to put data into .init.bss section from assembly
> code (*.S files) like __INITDATA does for .init.data section.

 That does not differ from what has to be done for any other language -- 
ultimately `gas', which is responsible for such arrangements, has to see 
an appropriate ".section" directive.

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux